operationsstatus

package
v0.20220704.1074157 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/redisenterprise/2022-01-01/operationsstatus Documentation

The operationsstatus SDK allows for interaction with the Azure Resource Manager Service redisenterprise (API Version 2022-01-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/redisenterprise/2022-01-01/operationsstatus"

Client Initialization

client := operationsstatus.NewOperationsStatusClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: OperationsStatusClient.Get

ctx := context.TODO()
id := operationsstatus.NewOperationsStatuID("12345678-1234-9876-4563-123456789012", "locationValue", "operationIdValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateOperationsStatuID

func ValidateOperationsStatuID(input interface{}, key string) (warnings []string, errors []error)

ValidateOperationsStatuID checks that 'input' can be parsed as a Operations Statu ID

Types

type ErrorAdditionalInfo

type ErrorAdditionalInfo struct {
	Info *interface{} `json:"info,omitempty"`
	Type *string      `json:"type,omitempty"`
}

type ErrorDetail

type ErrorDetail struct {
	AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
	Code           *string                `json:"code,omitempty"`
	Details        *[]ErrorDetail         `json:"details,omitempty"`
	Message        *string                `json:"message,omitempty"`
	Target         *string                `json:"target,omitempty"`
}

type ErrorResponse

type ErrorResponse struct {
	Error *ErrorDetail `json:"error,omitempty"`
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *OperationStatus
}

type OperationStatus

type OperationStatus struct {
	EndTime   *string        `json:"endTime,omitempty"`
	Error     *ErrorResponse `json:"error,omitempty"`
	Id        *string        `json:"id,omitempty"`
	Name      *string        `json:"name,omitempty"`
	StartTime *string        `json:"startTime,omitempty"`
	Status    *string        `json:"status,omitempty"`
}

type OperationsStatuId

type OperationsStatuId struct {
	SubscriptionId string
	Location       string
	OperationId    string
}

OperationsStatuId is a struct representing the Resource ID for a Operations Statu

func NewOperationsStatuID

func NewOperationsStatuID(subscriptionId string, location string, operationId string) OperationsStatuId

NewOperationsStatuID returns a new OperationsStatuId struct

func ParseOperationsStatuID

func ParseOperationsStatuID(input string) (*OperationsStatuId, error)

ParseOperationsStatuID parses 'input' into a OperationsStatuId

func ParseOperationsStatuIDInsensitively

func ParseOperationsStatuIDInsensitively(input string) (*OperationsStatuId, error)

ParseOperationsStatuIDInsensitively parses 'input' case-insensitively into a OperationsStatuId note: this method should only be used for API response data and not user input

func (OperationsStatuId) ID

func (id OperationsStatuId) ID() string

ID returns the formatted Operations Statu ID

func (OperationsStatuId) Segments

func (id OperationsStatuId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Operations Statu ID

func (OperationsStatuId) String

func (id OperationsStatuId) String() string

String returns a human-readable description of this Operations Statu ID

type OperationsStatusClient

type OperationsStatusClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewOperationsStatusClientWithBaseURI

func NewOperationsStatusClientWithBaseURI(endpoint string) OperationsStatusClient

func (OperationsStatusClient) Get

Get ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL