fluxconfigurationoperationstatus

package
v0.20230911.1163300 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/resource-manager/kubernetesconfiguration/2022-11-01/fluxconfigurationoperationstatus Documentation

The fluxconfigurationoperationstatus SDK allows for interaction with the Azure Resource Manager Service kubernetesconfiguration (API Version 2022-11-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/2022-11-01/fluxconfigurationoperationstatus"

Client Initialization

client := fluxconfigurationoperationstatus.NewFluxConfigurationOperationStatusClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: FluxConfigurationOperationStatusClient.FluxConfigOperationStatusGet

ctx := context.TODO()
id := fluxconfigurationoperationstatus.NewFluxConfigurationOperationScopedID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "fluxConfigurationValue", "operationIdValue")

read, err := client.FluxConfigOperationStatusGet(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 ValidateFluxConfigurationOperationScopedID added in v0.20230714.1170806

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

ValidateFluxConfigurationOperationScopedID checks that 'input' can be parsed as a Flux Configuration 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 FluxConfigOperationStatusGetOperationResponse

type FluxConfigOperationStatusGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *OperationStatusResult
}

type FluxConfigurationOperationScopedId added in v0.20230714.1170806

type FluxConfigurationOperationScopedId struct {
	Scope                 string
	FluxConfigurationName string
	OperationId           string
}

FluxConfigurationOperationScopedId is a struct representing the Resource ID for a Flux Configuration Operation Scoped

func NewFluxConfigurationOperationScopedID added in v0.20230714.1170806

func NewFluxConfigurationOperationScopedID(scope string, fluxConfigurationName string, operationId string) FluxConfigurationOperationScopedId

NewFluxConfigurationOperationScopedID returns a new FluxConfigurationOperationScopedId struct

func ParseFluxConfigurationOperationScopedID added in v0.20230714.1170806

func ParseFluxConfigurationOperationScopedID(input string) (*FluxConfigurationOperationScopedId, error)

ParseFluxConfigurationOperationScopedID parses 'input' into a FluxConfigurationOperationScopedId

func ParseFluxConfigurationOperationScopedIDInsensitively added in v0.20230714.1170806

func ParseFluxConfigurationOperationScopedIDInsensitively(input string) (*FluxConfigurationOperationScopedId, error)

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

func (FluxConfigurationOperationScopedId) ID added in v0.20230714.1170806

ID returns the formatted Flux Configuration Operation Scoped ID

func (FluxConfigurationOperationScopedId) Segments added in v0.20230714.1170806

Segments returns a slice of Resource ID Segments which comprise this Flux Configuration Operation Scoped ID

func (FluxConfigurationOperationScopedId) String added in v0.20230714.1170806

String returns a human-readable description of this Flux Configuration Operation Scoped ID

type FluxConfigurationOperationStatusClient

type FluxConfigurationOperationStatusClient struct {
	Client *resourcemanager.Client
}

func NewFluxConfigurationOperationStatusClientWithBaseURI

func NewFluxConfigurationOperationStatusClientWithBaseURI(sdkApi sdkEnv.Api) (*FluxConfigurationOperationStatusClient, error)

func (FluxConfigurationOperationStatusClient) FluxConfigOperationStatusGet

FluxConfigOperationStatusGet ...

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