Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateStandbyVirtualMachineID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStandbyVirtualMachinePoolID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type ListByStandbyVirtualMachinePoolResourceCompleteResult
- type ListByStandbyVirtualMachinePoolResourceCustomPager
- type ListByStandbyVirtualMachinePoolResourceOperationResponse
- type ProvisioningState
- type StandbyVirtualMachineId
- type StandbyVirtualMachinePoolId
- func NewStandbyVirtualMachinePoolID(subscriptionId string, resourceGroupName string, ...) StandbyVirtualMachinePoolId
- func ParseStandbyVirtualMachinePoolID(input string) (*StandbyVirtualMachinePoolId, error)
- func ParseStandbyVirtualMachinePoolIDInsensitively(input string) (*StandbyVirtualMachinePoolId, error)
- type StandbyVirtualMachineResource
- type StandbyVirtualMachineResourceOperationPredicate
- type StandbyVirtualMachineResourceProperties
- type StandbyVirtualMachinesClient
- func (c StandbyVirtualMachinesClient) Get(ctx context.Context, id StandbyVirtualMachineId) (result GetOperationResponse, err error)
- func (c StandbyVirtualMachinesClient) ListByStandbyVirtualMachinePoolResource(ctx context.Context, id StandbyVirtualMachinePoolId) (result ListByStandbyVirtualMachinePoolResourceOperationResponse, err error)
- func (c StandbyVirtualMachinesClient) ListByStandbyVirtualMachinePoolResourceComplete(ctx context.Context, id StandbyVirtualMachinePoolId) (ListByStandbyVirtualMachinePoolResourceCompleteResult, error)
- func (c StandbyVirtualMachinesClient) ListByStandbyVirtualMachinePoolResourceCompleteMatchingPredicate(ctx context.Context, id StandbyVirtualMachinePoolId, ...) (result ListByStandbyVirtualMachinePoolResourceCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateStandbyVirtualMachineID ¶
func ValidateStandbyVirtualMachineID(input interface{}, key string) (warnings []string, errors []error)
ValidateStandbyVirtualMachineID checks that 'input' can be parsed as a Standby Virtual Machine ID
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 GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *StandbyVirtualMachineResource }
type ListByStandbyVirtualMachinePoolResourceCompleteResult ¶
type ListByStandbyVirtualMachinePoolResourceCompleteResult struct { LatestHttpResponse *http.Response Items []StandbyVirtualMachineResource }
type ListByStandbyVirtualMachinePoolResourceCustomPager ¶
type ListByStandbyVirtualMachinePoolResourceCustomPager struct {
NextLink *odata.Link `json:"nextLink"`
}
func (*ListByStandbyVirtualMachinePoolResourceCustomPager) NextPageLink ¶
func (p *ListByStandbyVirtualMachinePoolResourceCustomPager) NextPageLink() *odata.Link
type ListByStandbyVirtualMachinePoolResourceOperationResponse ¶
type ListByStandbyVirtualMachinePoolResourceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]StandbyVirtualMachineResource }
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 StandbyVirtualMachineId ¶
type StandbyVirtualMachineId struct { SubscriptionId string ResourceGroupName string StandbyVirtualMachinePoolName string StandbyVirtualMachineName string }
StandbyVirtualMachineId is a struct representing the Resource ID for a Standby Virtual Machine
func NewStandbyVirtualMachineID ¶
func NewStandbyVirtualMachineID(subscriptionId string, resourceGroupName string, standbyVirtualMachinePoolName string, standbyVirtualMachineName string) StandbyVirtualMachineId
NewStandbyVirtualMachineID returns a new StandbyVirtualMachineId struct
func ParseStandbyVirtualMachineID ¶
func ParseStandbyVirtualMachineID(input string) (*StandbyVirtualMachineId, error)
ParseStandbyVirtualMachineID parses 'input' into a StandbyVirtualMachineId
func ParseStandbyVirtualMachineIDInsensitively ¶
func ParseStandbyVirtualMachineIDInsensitively(input string) (*StandbyVirtualMachineId, error)
ParseStandbyVirtualMachineIDInsensitively parses 'input' case-insensitively into a StandbyVirtualMachineId note: this method should only be used for API response data and not user input
func (*StandbyVirtualMachineId) FromParseResult ¶
func (id *StandbyVirtualMachineId) FromParseResult(input resourceids.ParseResult) error
func (StandbyVirtualMachineId) ID ¶
func (id StandbyVirtualMachineId) ID() string
ID returns the formatted Standby Virtual Machine ID
func (StandbyVirtualMachineId) Segments ¶
func (id StandbyVirtualMachineId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Standby Virtual Machine ID
func (StandbyVirtualMachineId) String ¶
func (id StandbyVirtualMachineId) String() string
String returns a human-readable description of this Standby Virtual Machine ID
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 StandbyVirtualMachineResource ¶
type StandbyVirtualMachineResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *StandbyVirtualMachineResourceProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type StandbyVirtualMachineResourceOperationPredicate ¶
type StandbyVirtualMachineResourceOperationPredicate struct { Id *string Name *string Type *string }
func (StandbyVirtualMachineResourceOperationPredicate) Matches ¶
func (p StandbyVirtualMachineResourceOperationPredicate) Matches(input StandbyVirtualMachineResource) bool
type StandbyVirtualMachineResourceProperties ¶
type StandbyVirtualMachineResourceProperties struct { ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` VirtualMachineResourceId string `json:"virtualMachineResourceId"` }
type StandbyVirtualMachinesClient ¶
type StandbyVirtualMachinesClient struct {
Client *resourcemanager.Client
}
func NewStandbyVirtualMachinesClientWithBaseURI ¶
func NewStandbyVirtualMachinesClientWithBaseURI(sdkApi sdkEnv.Api) (*StandbyVirtualMachinesClient, error)
func (StandbyVirtualMachinesClient) Get ¶
func (c StandbyVirtualMachinesClient) Get(ctx context.Context, id StandbyVirtualMachineId) (result GetOperationResponse, err error)
Get ...
func (StandbyVirtualMachinesClient) ListByStandbyVirtualMachinePoolResource ¶
func (c StandbyVirtualMachinesClient) ListByStandbyVirtualMachinePoolResource(ctx context.Context, id StandbyVirtualMachinePoolId) (result ListByStandbyVirtualMachinePoolResourceOperationResponse, err error)
ListByStandbyVirtualMachinePoolResource ...
func (StandbyVirtualMachinesClient) ListByStandbyVirtualMachinePoolResourceComplete ¶
func (c StandbyVirtualMachinesClient) ListByStandbyVirtualMachinePoolResourceComplete(ctx context.Context, id StandbyVirtualMachinePoolId) (ListByStandbyVirtualMachinePoolResourceCompleteResult, error)
ListByStandbyVirtualMachinePoolResourceComplete retrieves all the results into a single object
func (StandbyVirtualMachinesClient) ListByStandbyVirtualMachinePoolResourceCompleteMatchingPredicate ¶
func (c StandbyVirtualMachinesClient) ListByStandbyVirtualMachinePoolResourceCompleteMatchingPredicate(ctx context.Context, id StandbyVirtualMachinePoolId, predicate StandbyVirtualMachineResourceOperationPredicate) (result ListByStandbyVirtualMachinePoolResourceCompleteResult, err error)
ListByStandbyVirtualMachinePoolResourceCompleteMatchingPredicate retrieves all the results and then applies the predicate