managedazresiliencystatus

package
v0.20240903.1131440 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/servicefabricmanagedcluster/2024-04-01/managedazresiliencystatus Documentation

The managedazresiliencystatus SDK allows for interaction with the Azure Resource Manager Service servicefabricmanagedcluster (API Version 2024-04-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/servicefabricmanagedcluster/2024-04-01/managedazresiliencystatus"

Client Initialization

client := managedazresiliencystatus.NewManagedAzResiliencyStatusClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ManagedAzResiliencyStatusClient.Get

ctx := context.TODO()
id := managedazresiliencystatus.NewManagedClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue")

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 ValidateManagedClusterID

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

ValidateManagedClusterID checks that 'input' can be parsed as a Managed Cluster ID

Types

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ManagedAzResiliencyStatus
}

type ManagedAzResiliencyStatus

type ManagedAzResiliencyStatus struct {
	BaseResourceStatus     *[]ResourceAzStatus `json:"baseResourceStatus,omitempty"`
	IsClusterZoneResilient *bool               `json:"isClusterZoneResilient,omitempty"`
}

type ManagedAzResiliencyStatusClient

type ManagedAzResiliencyStatusClient struct {
	Client *resourcemanager.Client
}

func NewManagedAzResiliencyStatusClientWithBaseURI

func NewManagedAzResiliencyStatusClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedAzResiliencyStatusClient, error)

func (ManagedAzResiliencyStatusClient) Get

Get ...

type ManagedClusterId

type ManagedClusterId struct {
	SubscriptionId     string
	ResourceGroupName  string
	ManagedClusterName string
}

ManagedClusterId is a struct representing the Resource ID for a Managed Cluster

func NewManagedClusterID

func NewManagedClusterID(subscriptionId string, resourceGroupName string, managedClusterName string) ManagedClusterId

NewManagedClusterID returns a new ManagedClusterId struct

func ParseManagedClusterID

func ParseManagedClusterID(input string) (*ManagedClusterId, error)

ParseManagedClusterID parses 'input' into a ManagedClusterId

func ParseManagedClusterIDInsensitively

func ParseManagedClusterIDInsensitively(input string) (*ManagedClusterId, error)

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

func (*ManagedClusterId) FromParseResult

func (id *ManagedClusterId) FromParseResult(input resourceids.ParseResult) error

func (ManagedClusterId) ID

func (id ManagedClusterId) ID() string

ID returns the formatted Managed Cluster ID

func (ManagedClusterId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Managed Cluster ID

func (ManagedClusterId) String

func (id ManagedClusterId) String() string

String returns a human-readable description of this Managed Cluster ID

type ResourceAzStatus

type ResourceAzStatus struct {
	Details         *string `json:"details,omitempty"`
	IsZoneResilient *bool   `json:"isZoneResilient,omitempty"`
	ResourceName    *string `json:"resourceName,omitempty"`
	ResourceType    *string `json:"resourceType,omitempty"`
}

Jump to

Keyboard shortcuts

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