Documentation ¶
Index ¶
- func ValidateServerGroupsv2ID(input interface{}, key string) (warnings []string, errors []error)
- type ServerGroupOperationsClient
- func (c ServerGroupOperationsClient) ServerGroupsRestart(ctx context.Context, id ServerGroupsv2Id) (result ServerGroupsRestartOperationResponse, err error)
- func (c ServerGroupOperationsClient) ServerGroupsRestartThenPoll(ctx context.Context, id ServerGroupsv2Id) error
- func (c ServerGroupOperationsClient) ServerGroupsStart(ctx context.Context, id ServerGroupsv2Id) (result ServerGroupsStartOperationResponse, err error)
- func (c ServerGroupOperationsClient) ServerGroupsStartThenPoll(ctx context.Context, id ServerGroupsv2Id) error
- func (c ServerGroupOperationsClient) ServerGroupsStop(ctx context.Context, id ServerGroupsv2Id) (result ServerGroupsStopOperationResponse, err error)
- func (c ServerGroupOperationsClient) ServerGroupsStopThenPoll(ctx context.Context, id ServerGroupsv2Id) error
- type ServerGroupsRestartOperationResponse
- type ServerGroupsStartOperationResponse
- type ServerGroupsStopOperationResponse
- type ServerGroupsv2Id
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateServerGroupsv2ID ¶
ValidateServerGroupsv2ID checks that 'input' can be parsed as a Server Groupsv 2 ID
Types ¶
type ServerGroupOperationsClient ¶
type ServerGroupOperationsClient struct {
Client *resourcemanager.Client
}
func NewServerGroupOperationsClientWithBaseURI ¶
func NewServerGroupOperationsClientWithBaseURI(sdkApi sdkEnv.Api) (*ServerGroupOperationsClient, error)
func (ServerGroupOperationsClient) ServerGroupsRestart ¶
func (c ServerGroupOperationsClient) ServerGroupsRestart(ctx context.Context, id ServerGroupsv2Id) (result ServerGroupsRestartOperationResponse, err error)
ServerGroupsRestart ...
func (ServerGroupOperationsClient) ServerGroupsRestartThenPoll ¶
func (c ServerGroupOperationsClient) ServerGroupsRestartThenPoll(ctx context.Context, id ServerGroupsv2Id) error
ServerGroupsRestartThenPoll performs ServerGroupsRestart then polls until it's completed
func (ServerGroupOperationsClient) ServerGroupsStart ¶
func (c ServerGroupOperationsClient) ServerGroupsStart(ctx context.Context, id ServerGroupsv2Id) (result ServerGroupsStartOperationResponse, err error)
ServerGroupsStart ...
func (ServerGroupOperationsClient) ServerGroupsStartThenPoll ¶
func (c ServerGroupOperationsClient) ServerGroupsStartThenPoll(ctx context.Context, id ServerGroupsv2Id) error
ServerGroupsStartThenPoll performs ServerGroupsStart then polls until it's completed
func (ServerGroupOperationsClient) ServerGroupsStop ¶
func (c ServerGroupOperationsClient) ServerGroupsStop(ctx context.Context, id ServerGroupsv2Id) (result ServerGroupsStopOperationResponse, err error)
ServerGroupsStop ...
func (ServerGroupOperationsClient) ServerGroupsStopThenPoll ¶
func (c ServerGroupOperationsClient) ServerGroupsStopThenPoll(ctx context.Context, id ServerGroupsv2Id) error
ServerGroupsStopThenPoll performs ServerGroupsStop then polls until it's completed
type ServerGroupsv2Id ¶
type ServerGroupsv2Id struct { SubscriptionId string ResourceGroupName string ServerGroupsv2Name string }
ServerGroupsv2Id is a struct representing the Resource ID for a Server Groupsv 2
func NewServerGroupsv2ID ¶
func NewServerGroupsv2ID(subscriptionId string, resourceGroupName string, serverGroupsv2Name string) ServerGroupsv2Id
NewServerGroupsv2ID returns a new ServerGroupsv2Id struct
func ParseServerGroupsv2ID ¶
func ParseServerGroupsv2ID(input string) (*ServerGroupsv2Id, error)
ParseServerGroupsv2ID parses 'input' into a ServerGroupsv2Id
func ParseServerGroupsv2IDInsensitively ¶
func ParseServerGroupsv2IDInsensitively(input string) (*ServerGroupsv2Id, error)
ParseServerGroupsv2IDInsensitively parses 'input' case-insensitively into a ServerGroupsv2Id note: this method should only be used for API response data and not user input
func (ServerGroupsv2Id) ID ¶
func (id ServerGroupsv2Id) ID() string
ID returns the formatted Server Groupsv 2 ID
func (ServerGroupsv2Id) Segments ¶
func (id ServerGroupsv2Id) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Server Groupsv 2 ID
func (ServerGroupsv2Id) String ¶
func (id ServerGroupsv2Id) String() string
String returns a human-readable description of this Server Groupsv 2 ID