Documentation ¶
Index ¶
- func PossibleValuesForForceDelete() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateAvailabilitySetID(input interface{}, key string) (warnings []string, errors []error)
- type AvailabilitySet
- type AvailabilitySetId
- type AvailabilitySetOperationPredicate
- type AvailabilitySetProperties
- type AvailabilitySetTagsUpdate
- type AvailabilitySetsClient
- func (c AvailabilitySetsClient) CreateOrUpdate(ctx context.Context, id AvailabilitySetId, input AvailabilitySet) (result CreateOrUpdateOperationResponse, err error)
- func (c AvailabilitySetsClient) CreateOrUpdateThenPoll(ctx context.Context, id AvailabilitySetId, input AvailabilitySet) error
- func (c AvailabilitySetsClient) Delete(ctx context.Context, id AvailabilitySetId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c AvailabilitySetsClient) DeleteThenPoll(ctx context.Context, id AvailabilitySetId, options DeleteOperationOptions) error
- func (c AvailabilitySetsClient) Get(ctx context.Context, id AvailabilitySetId) (result GetOperationResponse, err error)
- func (c AvailabilitySetsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c AvailabilitySetsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c AvailabilitySetsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c AvailabilitySetsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c AvailabilitySetsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c AvailabilitySetsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c AvailabilitySetsClient) Update(ctx context.Context, id AvailabilitySetId, input AvailabilitySetTagsUpdate) (result UpdateOperationResponse, err error)
- func (c AvailabilitySetsClient) UpdateThenPoll(ctx context.Context, id AvailabilitySetId, input AvailabilitySetTagsUpdate) error
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type ExtendedLocation
- type ForceDelete
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ProvisioningState
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForForceDelete ¶ added in v0.20240604.1114748
func PossibleValuesForForceDelete() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateAvailabilitySetID ¶
ValidateAvailabilitySetID checks that 'input' can be parsed as a Availability Set ID
Types ¶
type AvailabilitySet ¶
type AvailabilitySet struct { ExtendedLocation ExtendedLocation `json:"extendedLocation"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *AvailabilitySetProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type AvailabilitySetId ¶
type AvailabilitySetId struct { SubscriptionId string ResourceGroupName string AvailabilitySetName string }
AvailabilitySetId is a struct representing the Resource ID for a Availability Set
func NewAvailabilitySetID ¶
func NewAvailabilitySetID(subscriptionId string, resourceGroupName string, availabilitySetName string) AvailabilitySetId
NewAvailabilitySetID returns a new AvailabilitySetId struct
func ParseAvailabilitySetID ¶
func ParseAvailabilitySetID(input string) (*AvailabilitySetId, error)
ParseAvailabilitySetID parses 'input' into a AvailabilitySetId
func ParseAvailabilitySetIDInsensitively ¶
func ParseAvailabilitySetIDInsensitively(input string) (*AvailabilitySetId, error)
ParseAvailabilitySetIDInsensitively parses 'input' case-insensitively into a AvailabilitySetId note: this method should only be used for API response data and not user input
func (*AvailabilitySetId) FromParseResult ¶
func (id *AvailabilitySetId) FromParseResult(input resourceids.ParseResult) error
func (AvailabilitySetId) ID ¶
func (id AvailabilitySetId) ID() string
ID returns the formatted Availability Set ID
func (AvailabilitySetId) Segments ¶
func (id AvailabilitySetId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Availability Set ID
func (AvailabilitySetId) String ¶
func (id AvailabilitySetId) String() string
String returns a human-readable description of this Availability Set ID
type AvailabilitySetOperationPredicate ¶
type AvailabilitySetOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (AvailabilitySetOperationPredicate) Matches ¶
func (p AvailabilitySetOperationPredicate) Matches(input AvailabilitySet) bool
type AvailabilitySetProperties ¶
type AvailabilitySetProperties struct { AvailabilitySetName *string `json:"availabilitySetName,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` VMmServerId *string `json:"vmmServerId,omitempty"` }
type AvailabilitySetTagsUpdate ¶ added in v0.20240604.1114748
type AvailabilitySetsClient ¶
type AvailabilitySetsClient struct {
Client *resourcemanager.Client
}
func NewAvailabilitySetsClientWithBaseURI ¶
func NewAvailabilitySetsClientWithBaseURI(sdkApi sdkEnv.Api) (*AvailabilitySetsClient, error)
func (AvailabilitySetsClient) CreateOrUpdate ¶
func (c AvailabilitySetsClient) CreateOrUpdate(ctx context.Context, id AvailabilitySetId, input AvailabilitySet) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AvailabilitySetsClient) CreateOrUpdateThenPoll ¶
func (c AvailabilitySetsClient) CreateOrUpdateThenPoll(ctx context.Context, id AvailabilitySetId, input AvailabilitySet) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (AvailabilitySetsClient) Delete ¶
func (c AvailabilitySetsClient) Delete(ctx context.Context, id AvailabilitySetId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (AvailabilitySetsClient) DeleteThenPoll ¶
func (c AvailabilitySetsClient) DeleteThenPoll(ctx context.Context, id AvailabilitySetId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (AvailabilitySetsClient) Get ¶
func (c AvailabilitySetsClient) Get(ctx context.Context, id AvailabilitySetId) (result GetOperationResponse, err error)
Get ...
func (AvailabilitySetsClient) ListByResourceGroup ¶
func (c AvailabilitySetsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (AvailabilitySetsClient) ListByResourceGroupComplete ¶
func (c AvailabilitySetsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (AvailabilitySetsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c AvailabilitySetsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate AvailabilitySetOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AvailabilitySetsClient) ListBySubscription ¶
func (c AvailabilitySetsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (AvailabilitySetsClient) ListBySubscriptionComplete ¶
func (c AvailabilitySetsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (AvailabilitySetsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c AvailabilitySetsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AvailabilitySetOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AvailabilitySetsClient) Update ¶
func (c AvailabilitySetsClient) Update(ctx context.Context, id AvailabilitySetId, input AvailabilitySetTagsUpdate) (result UpdateOperationResponse, err error)
Update ...
func (AvailabilitySetsClient) UpdateThenPoll ¶
func (c AvailabilitySetsClient) UpdateThenPoll(ctx context.Context, id AvailabilitySetId, input AvailabilitySetTagsUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
Force *ForceDelete
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type ExtendedLocation ¶
type ForceDelete ¶ added in v0.20240604.1114748
type ForceDelete string
const ( ForceDeleteFalse ForceDelete = "false" ForceDeleteTrue ForceDelete = "true" )
func (*ForceDelete) UnmarshalJSON ¶ added in v0.20240604.1114748
func (s *ForceDelete) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AvailabilitySet }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []AvailabilitySet }
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AvailabilitySet }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []AvailabilitySet }
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AvailabilitySet }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_availabilityset.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_availabilityset.go
- model_availabilitysetproperties.go
- model_availabilitysettagsupdate.go
- model_extendedlocation.go
- predicates.go
- version.go