README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/kubernetesconfiguration/2023-05-01/extensionoperationstatus
Documentation
The extensionoperationstatus
SDK allows for interaction with the Azure Resource Manager Service kubernetesconfiguration
(API Version 2023-05-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/kubernetesconfiguration/2023-05-01/extensionoperationstatus"
Client Initialization
client := extensionoperationstatus.NewExtensionOperationStatusClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: ExtensionOperationStatusClient.OperationStatusGet
ctx := context.TODO()
id := extensionoperationstatus.NewOperationScopedID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "extensionValue", "operationIdValue")
read, err := client.OperationStatusGet(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 ValidateOperationScopedID ¶ added in v0.20230714.1170806
ValidateOperationScopedID checks that 'input' can be parsed as a Operation Scoped 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 ExtensionOperationStatusClient ¶
type ExtensionOperationStatusClient struct {
Client *resourcemanager.Client
}
func NewExtensionOperationStatusClientWithBaseURI ¶
func NewExtensionOperationStatusClientWithBaseURI(sdkApi sdkEnv.Api) (*ExtensionOperationStatusClient, error)
func (ExtensionOperationStatusClient) OperationStatusGet ¶
func (c ExtensionOperationStatusClient) OperationStatusGet(ctx context.Context, id OperationScopedId) (result OperationStatusGetOperationResponse, err error)
OperationStatusGet ...
type OperationScopedId ¶ added in v0.20230714.1170806
OperationScopedId is a struct representing the Resource ID for a Operation Scoped
func NewOperationScopedID ¶ added in v0.20230714.1170806
func NewOperationScopedID(scope string, extensionName string, operationId string) OperationScopedId
NewOperationScopedID returns a new OperationScopedId struct
func ParseOperationScopedID ¶ added in v0.20230714.1170806
func ParseOperationScopedID(input string) (*OperationScopedId, error)
ParseOperationScopedID parses 'input' into a OperationScopedId
func ParseOperationScopedIDInsensitively ¶ added in v0.20230714.1170806
func ParseOperationScopedIDInsensitively(input string) (*OperationScopedId, error)
ParseOperationScopedIDInsensitively parses 'input' case-insensitively into a OperationScopedId note: this method should only be used for API response data and not user input
func (OperationScopedId) ID ¶ added in v0.20230714.1170806
func (id OperationScopedId) ID() string
ID returns the formatted Operation Scoped ID
func (OperationScopedId) Segments ¶ added in v0.20230714.1170806
func (id OperationScopedId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Operation Scoped ID
func (OperationScopedId) String ¶ added in v0.20230714.1170806
func (id OperationScopedId) String() string
String returns a human-readable description of this Operation Scoped ID
type OperationStatusGetOperationResponse ¶
type OperationStatusGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *OperationStatusResult }