Documentation ¶
Index ¶
- func ValidateServerGroupsv2ID(input interface{}, key string) (warnings []string, errors []error)
- type ClusterOperationsClient
- func (c ClusterOperationsClient) ClustersPromoteReadReplica(ctx context.Context, id ServerGroupsv2Id) (result ClustersPromoteReadReplicaOperationResponse, err error)
- func (c ClusterOperationsClient) ClustersPromoteReadReplicaThenPoll(ctx context.Context, id ServerGroupsv2Id) error
- func (c ClusterOperationsClient) ClustersRestart(ctx context.Context, id ServerGroupsv2Id) (result ClustersRestartOperationResponse, err error)
- func (c ClusterOperationsClient) ClustersRestartThenPoll(ctx context.Context, id ServerGroupsv2Id) error
- func (c ClusterOperationsClient) ClustersStart(ctx context.Context, id ServerGroupsv2Id) (result ClustersStartOperationResponse, err error)
- func (c ClusterOperationsClient) ClustersStartThenPoll(ctx context.Context, id ServerGroupsv2Id) error
- func (c ClusterOperationsClient) ClustersStop(ctx context.Context, id ServerGroupsv2Id) (result ClustersStopOperationResponse, err error)
- func (c ClusterOperationsClient) ClustersStopThenPoll(ctx context.Context, id ServerGroupsv2Id) error
- type ClustersPromoteReadReplicaOperationResponse
- type ClustersRestartOperationResponse
- type ClustersStartOperationResponse
- type ClustersStopOperationResponse
- 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 ClusterOperationsClient ¶
type ClusterOperationsClient struct {
Client *resourcemanager.Client
}
func NewClusterOperationsClientWithBaseURI ¶
func NewClusterOperationsClientWithBaseURI(sdkApi sdkEnv.Api) (*ClusterOperationsClient, error)
func (ClusterOperationsClient) ClustersPromoteReadReplica ¶
func (c ClusterOperationsClient) ClustersPromoteReadReplica(ctx context.Context, id ServerGroupsv2Id) (result ClustersPromoteReadReplicaOperationResponse, err error)
ClustersPromoteReadReplica ...
func (ClusterOperationsClient) ClustersPromoteReadReplicaThenPoll ¶
func (c ClusterOperationsClient) ClustersPromoteReadReplicaThenPoll(ctx context.Context, id ServerGroupsv2Id) error
ClustersPromoteReadReplicaThenPoll performs ClustersPromoteReadReplica then polls until it's completed
func (ClusterOperationsClient) ClustersRestart ¶
func (c ClusterOperationsClient) ClustersRestart(ctx context.Context, id ServerGroupsv2Id) (result ClustersRestartOperationResponse, err error)
ClustersRestart ...
func (ClusterOperationsClient) ClustersRestartThenPoll ¶
func (c ClusterOperationsClient) ClustersRestartThenPoll(ctx context.Context, id ServerGroupsv2Id) error
ClustersRestartThenPoll performs ClustersRestart then polls until it's completed
func (ClusterOperationsClient) ClustersStart ¶
func (c ClusterOperationsClient) ClustersStart(ctx context.Context, id ServerGroupsv2Id) (result ClustersStartOperationResponse, err error)
ClustersStart ...
func (ClusterOperationsClient) ClustersStartThenPoll ¶
func (c ClusterOperationsClient) ClustersStartThenPoll(ctx context.Context, id ServerGroupsv2Id) error
ClustersStartThenPoll performs ClustersStart then polls until it's completed
func (ClusterOperationsClient) ClustersStop ¶
func (c ClusterOperationsClient) ClustersStop(ctx context.Context, id ServerGroupsv2Id) (result ClustersStopOperationResponse, err error)
ClustersStop ...
func (ClusterOperationsClient) ClustersStopThenPoll ¶
func (c ClusterOperationsClient) ClustersStopThenPoll(ctx context.Context, id ServerGroupsv2Id) error
ClustersStopThenPoll performs ClustersStop 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