README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/kubernetesconfiguration/2022-03-01/fluxconfigurationoperationstatus
Documentation
The fluxconfigurationoperationstatus
SDK allows for interaction with the Azure Resource Manager Service kubernetesconfiguration
(API Version 2022-03-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-03-01/fluxconfigurationoperationstatus"
Client Initialization
client := fluxconfigurationoperationstatus.NewFluxConfigurationOperationStatusClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: FluxConfigurationOperationStatusClient.FluxConfigOperationStatusGet
ctx := context.TODO()
id := fluxconfigurationoperationstatus.NewFluxConfigurationOperationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "providerValue", "clusterResourceValue", "clusterValue", "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 ¶
- func ValidateFluxConfigurationOperationID(input interface{}, key string) (warnings []string, errors []error)
- type ErrorAdditionalInfo
- type ErrorDetail
- type FluxConfigOperationStatusGetOperationResponse
- type FluxConfigurationOperationId
- func NewFluxConfigurationOperationID(subscriptionId string, resourceGroupName string, providerName string, ...) FluxConfigurationOperationId
- func ParseFluxConfigurationOperationID(input string) (*FluxConfigurationOperationId, error)
- func ParseFluxConfigurationOperationIDInsensitively(input string) (*FluxConfigurationOperationId, error)
- type FluxConfigurationOperationStatusClient
- type OperationStatusResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateFluxConfigurationOperationID ¶
func ValidateFluxConfigurationOperationID(input interface{}, key string) (warnings []string, errors []error)
ValidateFluxConfigurationOperationID checks that 'input' can be parsed as a Flux Configuration Operation 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 FluxConfigurationOperationId ¶
type FluxConfigurationOperationId struct { SubscriptionId string ResourceGroupName string ProviderName string ClusterResourceName string ClusterName string FluxConfigurationName string OperationId string }
FluxConfigurationOperationId is a struct representing the Resource ID for a Flux Configuration Operation
func NewFluxConfigurationOperationID ¶
func NewFluxConfigurationOperationID(subscriptionId string, resourceGroupName string, providerName string, clusterResourceName string, clusterName string, fluxConfigurationName string, operationId string) FluxConfigurationOperationId
NewFluxConfigurationOperationID returns a new FluxConfigurationOperationId struct
func ParseFluxConfigurationOperationID ¶
func ParseFluxConfigurationOperationID(input string) (*FluxConfigurationOperationId, error)
ParseFluxConfigurationOperationID parses 'input' into a FluxConfigurationOperationId
func ParseFluxConfigurationOperationIDInsensitively ¶
func ParseFluxConfigurationOperationIDInsensitively(input string) (*FluxConfigurationOperationId, error)
ParseFluxConfigurationOperationIDInsensitively parses 'input' case-insensitively into a FluxConfigurationOperationId note: this method should only be used for API response data and not user input
func (FluxConfigurationOperationId) ID ¶
func (id FluxConfigurationOperationId) ID() string
ID returns the formatted Flux Configuration Operation ID
func (FluxConfigurationOperationId) Segments ¶
func (id FluxConfigurationOperationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Flux Configuration Operation ID
func (FluxConfigurationOperationId) String ¶
func (id FluxConfigurationOperationId) String() string
String returns a human-readable description of this Flux Configuration Operation ID
type FluxConfigurationOperationStatusClient ¶
type FluxConfigurationOperationStatusClient struct {
Client *resourcemanager.Client
}
func NewFluxConfigurationOperationStatusClientWithBaseURI ¶
func NewFluxConfigurationOperationStatusClientWithBaseURI(api environments.Api) (*FluxConfigurationOperationStatusClient, error)
func (FluxConfigurationOperationStatusClient) FluxConfigOperationStatusGet ¶
func (c FluxConfigurationOperationStatusClient) FluxConfigOperationStatusGet(ctx context.Context, id FluxConfigurationOperationId) (result FluxConfigOperationStatusGetOperationResponse, err error)
FluxConfigOperationStatusGet ...