Documentation ¶
Index ¶
- func ValidateClusterID(input interface{}, key string) (warnings []string, errors []error)
- type ClusterId
- type HostInfo
- type ListHostsOperationResponse
- type RestartHostsOperationResponse
- type VirtualMachinesClient
- func (c VirtualMachinesClient) ListHosts(ctx context.Context, id ClusterId) (result ListHostsOperationResponse, err error)
- func (c VirtualMachinesClient) RestartHosts(ctx context.Context, id ClusterId, input []string) (result RestartHostsOperationResponse, err error)
- func (c VirtualMachinesClient) RestartHostsThenPoll(ctx context.Context, id ClusterId, input []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateClusterID ¶
ValidateClusterID checks that 'input' can be parsed as a Cluster ID
Types ¶
type ClusterId ¶
ClusterId is a struct representing the Resource ID for a Cluster
func NewClusterID ¶
NewClusterID returns a new ClusterId struct
func ParseClusterID ¶
ParseClusterID parses 'input' into a ClusterId
func ParseClusterIDInsensitively ¶
ParseClusterIDInsensitively parses 'input' case-insensitively into a ClusterId note: this method should only be used for API response data and not user input
func (ClusterId) Segments ¶
func (id ClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cluster ID
type VirtualMachinesClient ¶
type VirtualMachinesClient struct {
Client *resourcemanager.Client
}
func NewVirtualMachinesClientWithBaseURI ¶
func NewVirtualMachinesClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualMachinesClient, error)
func (VirtualMachinesClient) ListHosts ¶
func (c VirtualMachinesClient) ListHosts(ctx context.Context, id ClusterId) (result ListHostsOperationResponse, err error)
ListHosts ...
func (VirtualMachinesClient) RestartHosts ¶
func (c VirtualMachinesClient) RestartHosts(ctx context.Context, id ClusterId, input []string) (result RestartHostsOperationResponse, err error)
RestartHosts ...
func (VirtualMachinesClient) RestartHostsThenPoll ¶
func (c VirtualMachinesClient) RestartHostsThenPoll(ctx context.Context, id ClusterId, input []string) error
RestartHostsThenPoll performs RestartHosts then polls until it's completed
Click to show internal directories.
Click to hide internal directories.