Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForVirtualMachineState() []string
- func ValidateStandbyVirtualMachinePoolID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type ProvisioningState
- type StandbyVirtualMachinePoolElasticityProfile
- type StandbyVirtualMachinePoolId
- func NewStandbyVirtualMachinePoolID(subscriptionId string, resourceGroupName string, ...) StandbyVirtualMachinePoolId
- func ParseStandbyVirtualMachinePoolID(input string) (*StandbyVirtualMachinePoolId, error)
- func ParseStandbyVirtualMachinePoolIDInsensitively(input string) (*StandbyVirtualMachinePoolId, error)
- type StandbyVirtualMachinePoolResource
- type StandbyVirtualMachinePoolResourceOperationPredicate
- type StandbyVirtualMachinePoolResourceProperties
- type StandbyVirtualMachinePoolResourceUpdate
- type StandbyVirtualMachinePoolResourceUpdateProperties
- type StandbyVirtualMachinePoolsClient
- func (c StandbyVirtualMachinePoolsClient) CreateOrUpdate(ctx context.Context, id StandbyVirtualMachinePoolId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c StandbyVirtualMachinePoolsClient) CreateOrUpdateThenPoll(ctx context.Context, id StandbyVirtualMachinePoolId, ...) error
- func (c StandbyVirtualMachinePoolsClient) Delete(ctx context.Context, id StandbyVirtualMachinePoolId) (result DeleteOperationResponse, err error)
- func (c StandbyVirtualMachinePoolsClient) DeleteThenPoll(ctx context.Context, id StandbyVirtualMachinePoolId) error
- func (c StandbyVirtualMachinePoolsClient) Get(ctx context.Context, id StandbyVirtualMachinePoolId) (result GetOperationResponse, err error)
- func (c StandbyVirtualMachinePoolsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c StandbyVirtualMachinePoolsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c StandbyVirtualMachinePoolsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c StandbyVirtualMachinePoolsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c StandbyVirtualMachinePoolsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c StandbyVirtualMachinePoolsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c StandbyVirtualMachinePoolsClient) Update(ctx context.Context, id StandbyVirtualMachinePoolId, ...) (result UpdateOperationResponse, err error)
- type UpdateOperationResponse
- type VirtualMachineState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForVirtualMachineState ¶
func PossibleValuesForVirtualMachineState() []string
func ValidateStandbyVirtualMachinePoolID ¶
func ValidateStandbyVirtualMachinePoolID(input interface{}, key string) (warnings []string, errors []error)
ValidateStandbyVirtualMachinePoolID checks that 'input' can be parsed as a Standby Virtual Machine Pool ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *StandbyVirtualMachinePoolResource }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []StandbyVirtualMachinePoolResource }
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]StandbyVirtualMachinePoolResource }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []StandbyVirtualMachinePoolResource }
type ListBySubscriptionCustomPager ¶
func (*ListBySubscriptionCustomPager) NextPageLink ¶
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]StandbyVirtualMachinePoolResource }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type StandbyVirtualMachinePoolId ¶
type StandbyVirtualMachinePoolId struct { SubscriptionId string ResourceGroupName string StandbyVirtualMachinePoolName string }
StandbyVirtualMachinePoolId is a struct representing the Resource ID for a Standby Virtual Machine Pool
func NewStandbyVirtualMachinePoolID ¶
func NewStandbyVirtualMachinePoolID(subscriptionId string, resourceGroupName string, standbyVirtualMachinePoolName string) StandbyVirtualMachinePoolId
NewStandbyVirtualMachinePoolID returns a new StandbyVirtualMachinePoolId struct
func ParseStandbyVirtualMachinePoolID ¶
func ParseStandbyVirtualMachinePoolID(input string) (*StandbyVirtualMachinePoolId, error)
ParseStandbyVirtualMachinePoolID parses 'input' into a StandbyVirtualMachinePoolId
func ParseStandbyVirtualMachinePoolIDInsensitively ¶
func ParseStandbyVirtualMachinePoolIDInsensitively(input string) (*StandbyVirtualMachinePoolId, error)
ParseStandbyVirtualMachinePoolIDInsensitively parses 'input' case-insensitively into a StandbyVirtualMachinePoolId note: this method should only be used for API response data and not user input
func (*StandbyVirtualMachinePoolId) FromParseResult ¶
func (id *StandbyVirtualMachinePoolId) FromParseResult(input resourceids.ParseResult) error
func (StandbyVirtualMachinePoolId) ID ¶
func (id StandbyVirtualMachinePoolId) ID() string
ID returns the formatted Standby Virtual Machine Pool ID
func (StandbyVirtualMachinePoolId) Segments ¶
func (id StandbyVirtualMachinePoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Standby Virtual Machine Pool ID
func (StandbyVirtualMachinePoolId) String ¶
func (id StandbyVirtualMachinePoolId) String() string
String returns a human-readable description of this Standby Virtual Machine Pool ID
type StandbyVirtualMachinePoolResource ¶
type StandbyVirtualMachinePoolResource struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *StandbyVirtualMachinePoolResourceProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type StandbyVirtualMachinePoolResourceOperationPredicate ¶
type StandbyVirtualMachinePoolResourceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (StandbyVirtualMachinePoolResourceOperationPredicate) Matches ¶
func (p StandbyVirtualMachinePoolResourceOperationPredicate) Matches(input StandbyVirtualMachinePoolResource) bool
type StandbyVirtualMachinePoolResourceProperties ¶
type StandbyVirtualMachinePoolResourceProperties struct { AttachedVirtualMachineScaleSetId *string `json:"attachedVirtualMachineScaleSetId,omitempty"` ElasticityProfile *StandbyVirtualMachinePoolElasticityProfile `json:"elasticityProfile,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` VirtualMachineState VirtualMachineState `json:"virtualMachineState"` }
type StandbyVirtualMachinePoolResourceUpdate ¶
type StandbyVirtualMachinePoolResourceUpdate struct { Properties *StandbyVirtualMachinePoolResourceUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type StandbyVirtualMachinePoolResourceUpdateProperties ¶
type StandbyVirtualMachinePoolResourceUpdateProperties struct { AttachedVirtualMachineScaleSetId *string `json:"attachedVirtualMachineScaleSetId,omitempty"` ElasticityProfile *StandbyVirtualMachinePoolElasticityProfile `json:"elasticityProfile,omitempty"` VirtualMachineState *VirtualMachineState `json:"virtualMachineState,omitempty"` }
type StandbyVirtualMachinePoolsClient ¶
type StandbyVirtualMachinePoolsClient struct {
Client *resourcemanager.Client
}
func NewStandbyVirtualMachinePoolsClientWithBaseURI ¶
func NewStandbyVirtualMachinePoolsClientWithBaseURI(sdkApi sdkEnv.Api) (*StandbyVirtualMachinePoolsClient, error)
func (StandbyVirtualMachinePoolsClient) CreateOrUpdate ¶
func (c StandbyVirtualMachinePoolsClient) CreateOrUpdate(ctx context.Context, id StandbyVirtualMachinePoolId, input StandbyVirtualMachinePoolResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (StandbyVirtualMachinePoolsClient) CreateOrUpdateThenPoll ¶
func (c StandbyVirtualMachinePoolsClient) CreateOrUpdateThenPoll(ctx context.Context, id StandbyVirtualMachinePoolId, input StandbyVirtualMachinePoolResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (StandbyVirtualMachinePoolsClient) Delete ¶
func (c StandbyVirtualMachinePoolsClient) Delete(ctx context.Context, id StandbyVirtualMachinePoolId) (result DeleteOperationResponse, err error)
Delete ...
func (StandbyVirtualMachinePoolsClient) DeleteThenPoll ¶
func (c StandbyVirtualMachinePoolsClient) DeleteThenPoll(ctx context.Context, id StandbyVirtualMachinePoolId) error
DeleteThenPoll performs Delete then polls until it's completed
func (StandbyVirtualMachinePoolsClient) Get ¶
func (c StandbyVirtualMachinePoolsClient) Get(ctx context.Context, id StandbyVirtualMachinePoolId) (result GetOperationResponse, err error)
Get ...
func (StandbyVirtualMachinePoolsClient) ListByResourceGroup ¶
func (c StandbyVirtualMachinePoolsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (StandbyVirtualMachinePoolsClient) ListByResourceGroupComplete ¶
func (c StandbyVirtualMachinePoolsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (StandbyVirtualMachinePoolsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c StandbyVirtualMachinePoolsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate StandbyVirtualMachinePoolResourceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (StandbyVirtualMachinePoolsClient) ListBySubscription ¶
func (c StandbyVirtualMachinePoolsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (StandbyVirtualMachinePoolsClient) ListBySubscriptionComplete ¶
func (c StandbyVirtualMachinePoolsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (StandbyVirtualMachinePoolsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c StandbyVirtualMachinePoolsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate StandbyVirtualMachinePoolResourceOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (StandbyVirtualMachinePoolsClient) Update ¶
func (c StandbyVirtualMachinePoolsClient) Update(ctx context.Context, id StandbyVirtualMachinePoolId, input StandbyVirtualMachinePoolResourceUpdate) (result UpdateOperationResponse, err error)
Update ...
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *StandbyVirtualMachinePoolResource }
type VirtualMachineState ¶
type VirtualMachineState string
const ( VirtualMachineStateDeallocated VirtualMachineState = "Deallocated" VirtualMachineStateRunning VirtualMachineState = "Running" )
func (*VirtualMachineState) UnmarshalJSON ¶
func (s *VirtualMachineState) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_standbyvirtualmachinepool.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_standbyvirtualmachinepoolelasticityprofile.go
- model_standbyvirtualmachinepoolresource.go
- model_standbyvirtualmachinepoolresourceproperties.go
- model_standbyvirtualmachinepoolresourceupdate.go
- model_standbyvirtualmachinepoolresourceupdateproperties.go
- predicates.go
- version.go