extensionoperationstatus

package
v0.20231002.1065327 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

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

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

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

OperationStatusGet ...

type OperationScopedId added in v0.20230714.1170806

type OperationScopedId struct {
	Scope         string
	ExtensionName string
	OperationId   string
}

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
}

type OperationStatusResult

type OperationStatusResult struct {
	Error      *ErrorDetail       `json:"error,omitempty"`
	Id         *string            `json:"id,omitempty"`
	Name       *string            `json:"name,omitempty"`
	Properties *map[string]string `json:"properties,omitempty"`
	Status     string             `json:"status"`
}

Jump to

Keyboard shortcuts

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