clusteroperations

package
v0.20231002.1065327 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2023 License: MPL-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateServerGroupsv2ID

func ValidateServerGroupsv2ID(input interface{}, key string) (warnings []string, errors []error)

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

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

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

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

ClustersStop ...

func (ClusterOperationsClient) ClustersStopThenPoll

func (c ClusterOperationsClient) ClustersStopThenPoll(ctx context.Context, id ServerGroupsv2Id) error

ClustersStopThenPoll performs ClustersStop then polls until it's completed

type ClustersPromoteReadReplicaOperationResponse

type ClustersPromoteReadReplicaOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type ClustersRestartOperationResponse

type ClustersRestartOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type ClustersStartOperationResponse

type ClustersStartOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type ClustersStopOperationResponse

type ClustersStopOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL