Documentation ¶
Index ¶
- func PossibleValuesForVMHostUpdateStates() []string
- func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateMonitorID(input interface{}, key string) (warnings []string, errors []error)
- type AccountId
- type MonitorId
- type MonitorListVMHostUpdateCompleteResult
- type MonitorListVMHostUpdateOperationResponse
- type MonitorListVMHostsCompleteResult
- type MonitorListVMHostsOperationResponse
- type MonitorVMHostPayloadOperationResponse
- type SubAccountListVMHostUpdateCompleteResult
- type SubAccountListVMHostUpdateOperationResponse
- type SubAccountListVMHostsCompleteResult
- type SubAccountListVMHostsOperationResponse
- type SubAccountVMHostPayloadOperationResponse
- type VMExtensionPayload
- type VMHostClient
- func (c VMHostClient) MonitorListVMHostUpdate(ctx context.Context, id MonitorId, input VMHostUpdateRequest) (resp MonitorListVMHostUpdateOperationResponse, err error)
- func (c VMHostClient) MonitorListVMHostUpdateComplete(ctx context.Context, id MonitorId, input VMHostUpdateRequest) (MonitorListVMHostUpdateCompleteResult, error)
- func (c VMHostClient) MonitorListVMHostUpdateCompleteMatchingPredicate(ctx context.Context, id MonitorId, input VMHostUpdateRequest, ...) (resp MonitorListVMHostUpdateCompleteResult, err error)
- func (c VMHostClient) MonitorListVMHosts(ctx context.Context, id MonitorId) (resp MonitorListVMHostsOperationResponse, err error)
- func (c VMHostClient) MonitorListVMHostsComplete(ctx context.Context, id MonitorId) (MonitorListVMHostsCompleteResult, error)
- func (c VMHostClient) MonitorListVMHostsCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate VMResourcesOperationPredicate) (resp MonitorListVMHostsCompleteResult, err error)
- func (c VMHostClient) MonitorVMHostPayload(ctx context.Context, id MonitorId) (result MonitorVMHostPayloadOperationResponse, err error)
- func (c VMHostClient) SubAccountListVMHostUpdate(ctx context.Context, id AccountId, input VMHostUpdateRequest) (resp SubAccountListVMHostUpdateOperationResponse, err error)
- func (c VMHostClient) SubAccountListVMHostUpdateComplete(ctx context.Context, id AccountId, input VMHostUpdateRequest) (SubAccountListVMHostUpdateCompleteResult, error)
- func (c VMHostClient) SubAccountListVMHostUpdateCompleteMatchingPredicate(ctx context.Context, id AccountId, input VMHostUpdateRequest, ...) (resp SubAccountListVMHostUpdateCompleteResult, err error)
- func (c VMHostClient) SubAccountListVMHosts(ctx context.Context, id AccountId) (resp SubAccountListVMHostsOperationResponse, err error)
- func (c VMHostClient) SubAccountListVMHostsComplete(ctx context.Context, id AccountId) (SubAccountListVMHostsCompleteResult, error)
- func (c VMHostClient) SubAccountListVMHostsCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate VMResourcesOperationPredicate) (resp SubAccountListVMHostsCompleteResult, err error)
- func (c VMHostClient) SubAccountVMHostPayload(ctx context.Context, id AccountId) (result SubAccountVMHostPayloadOperationResponse, err error)
- type VMHostUpdateRequest
- type VMHostUpdateStates
- type VMResources
- type VMResourcesOperationPredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForVMHostUpdateStates ¶
func PossibleValuesForVMHostUpdateStates() []string
func ValidateAccountID ¶
ValidateAccountID checks that 'input' can be parsed as a Account ID
func ValidateMonitorID ¶
ValidateMonitorID checks that 'input' can be parsed as a Monitor ID
Types ¶
type AccountId ¶
type AccountId struct { SubscriptionId string ResourceGroupName string MonitorName string AccountName string }
AccountId is a struct representing the Resource ID for a Account
func NewAccountID ¶
func NewAccountID(subscriptionId string, resourceGroupName string, monitorName string, accountName string) AccountId
NewAccountID returns a new AccountId struct
func ParseAccountID ¶
ParseAccountID parses 'input' into a AccountId
func ParseAccountIDInsensitively ¶
ParseAccountIDInsensitively parses 'input' case-insensitively into a AccountId note: this method should only be used for API response data and not user input
func (AccountId) Segments ¶
func (id AccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Account ID
type MonitorId ¶
MonitorId is a struct representing the Resource ID for a Monitor
func NewMonitorID ¶
NewMonitorID returns a new MonitorId struct
func ParseMonitorID ¶
ParseMonitorID parses 'input' into a MonitorId
func ParseMonitorIDInsensitively ¶
ParseMonitorIDInsensitively parses 'input' case-insensitively into a MonitorId note: this method should only be used for API response data and not user input
func (MonitorId) Segments ¶
func (id MonitorId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Monitor ID
type MonitorListVMHostUpdateCompleteResult ¶
type MonitorListVMHostUpdateCompleteResult struct {
Items []VMResources
}
type MonitorListVMHostUpdateOperationResponse ¶
type MonitorListVMHostUpdateOperationResponse struct { HttpResponse *http.Response Model *[]VMResources // contains filtered or unexported fields }
func (MonitorListVMHostUpdateOperationResponse) HasMore ¶
func (r MonitorListVMHostUpdateOperationResponse) HasMore() bool
func (MonitorListVMHostUpdateOperationResponse) LoadMore ¶
func (r MonitorListVMHostUpdateOperationResponse) LoadMore(ctx context.Context) (resp MonitorListVMHostUpdateOperationResponse, err error)
type MonitorListVMHostsCompleteResult ¶
type MonitorListVMHostsCompleteResult struct {
Items []VMResources
}
type MonitorListVMHostsOperationResponse ¶
type MonitorListVMHostsOperationResponse struct { HttpResponse *http.Response Model *[]VMResources // contains filtered or unexported fields }
func (MonitorListVMHostsOperationResponse) HasMore ¶
func (r MonitorListVMHostsOperationResponse) HasMore() bool
func (MonitorListVMHostsOperationResponse) LoadMore ¶
func (r MonitorListVMHostsOperationResponse) LoadMore(ctx context.Context) (resp MonitorListVMHostsOperationResponse, err error)
type MonitorVMHostPayloadOperationResponse ¶
type MonitorVMHostPayloadOperationResponse struct { HttpResponse *http.Response Model *VMExtensionPayload }
type SubAccountListVMHostUpdateCompleteResult ¶
type SubAccountListVMHostUpdateCompleteResult struct {
Items []VMResources
}
type SubAccountListVMHostUpdateOperationResponse ¶
type SubAccountListVMHostUpdateOperationResponse struct { HttpResponse *http.Response Model *[]VMResources // contains filtered or unexported fields }
func (SubAccountListVMHostUpdateOperationResponse) HasMore ¶
func (r SubAccountListVMHostUpdateOperationResponse) HasMore() bool
func (SubAccountListVMHostUpdateOperationResponse) LoadMore ¶
func (r SubAccountListVMHostUpdateOperationResponse) LoadMore(ctx context.Context) (resp SubAccountListVMHostUpdateOperationResponse, err error)
type SubAccountListVMHostsCompleteResult ¶
type SubAccountListVMHostsCompleteResult struct {
Items []VMResources
}
type SubAccountListVMHostsOperationResponse ¶
type SubAccountListVMHostsOperationResponse struct { HttpResponse *http.Response Model *[]VMResources // contains filtered or unexported fields }
func (SubAccountListVMHostsOperationResponse) HasMore ¶
func (r SubAccountListVMHostsOperationResponse) HasMore() bool
func (SubAccountListVMHostsOperationResponse) LoadMore ¶
func (r SubAccountListVMHostsOperationResponse) LoadMore(ctx context.Context) (resp SubAccountListVMHostsOperationResponse, err error)
type SubAccountVMHostPayloadOperationResponse ¶
type SubAccountVMHostPayloadOperationResponse struct { HttpResponse *http.Response Model *VMExtensionPayload }
type VMExtensionPayload ¶
type VMHostClient ¶
func NewVMHostClientWithBaseURI ¶
func NewVMHostClientWithBaseURI(endpoint string) VMHostClient
func (VMHostClient) MonitorListVMHostUpdate ¶
func (c VMHostClient) MonitorListVMHostUpdate(ctx context.Context, id MonitorId, input VMHostUpdateRequest) (resp MonitorListVMHostUpdateOperationResponse, err error)
MonitorListVMHostUpdate ...
func (VMHostClient) MonitorListVMHostUpdateComplete ¶
func (c VMHostClient) MonitorListVMHostUpdateComplete(ctx context.Context, id MonitorId, input VMHostUpdateRequest) (MonitorListVMHostUpdateCompleteResult, error)
MonitorListVMHostUpdateComplete retrieves all of the results into a single object
func (VMHostClient) MonitorListVMHostUpdateCompleteMatchingPredicate ¶
func (c VMHostClient) MonitorListVMHostUpdateCompleteMatchingPredicate(ctx context.Context, id MonitorId, input VMHostUpdateRequest, predicate VMResourcesOperationPredicate) (resp MonitorListVMHostUpdateCompleteResult, err error)
MonitorListVMHostUpdateCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (VMHostClient) MonitorListVMHosts ¶
func (c VMHostClient) MonitorListVMHosts(ctx context.Context, id MonitorId) (resp MonitorListVMHostsOperationResponse, err error)
MonitorListVMHosts ...
func (VMHostClient) MonitorListVMHostsComplete ¶
func (c VMHostClient) MonitorListVMHostsComplete(ctx context.Context, id MonitorId) (MonitorListVMHostsCompleteResult, error)
MonitorListVMHostsComplete retrieves all of the results into a single object
func (VMHostClient) MonitorListVMHostsCompleteMatchingPredicate ¶
func (c VMHostClient) MonitorListVMHostsCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate VMResourcesOperationPredicate) (resp MonitorListVMHostsCompleteResult, err error)
MonitorListVMHostsCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (VMHostClient) MonitorVMHostPayload ¶
func (c VMHostClient) MonitorVMHostPayload(ctx context.Context, id MonitorId) (result MonitorVMHostPayloadOperationResponse, err error)
MonitorVMHostPayload ...
func (VMHostClient) SubAccountListVMHostUpdate ¶
func (c VMHostClient) SubAccountListVMHostUpdate(ctx context.Context, id AccountId, input VMHostUpdateRequest) (resp SubAccountListVMHostUpdateOperationResponse, err error)
SubAccountListVMHostUpdate ...
func (VMHostClient) SubAccountListVMHostUpdateComplete ¶
func (c VMHostClient) SubAccountListVMHostUpdateComplete(ctx context.Context, id AccountId, input VMHostUpdateRequest) (SubAccountListVMHostUpdateCompleteResult, error)
SubAccountListVMHostUpdateComplete retrieves all of the results into a single object
func (VMHostClient) SubAccountListVMHostUpdateCompleteMatchingPredicate ¶
func (c VMHostClient) SubAccountListVMHostUpdateCompleteMatchingPredicate(ctx context.Context, id AccountId, input VMHostUpdateRequest, predicate VMResourcesOperationPredicate) (resp SubAccountListVMHostUpdateCompleteResult, err error)
SubAccountListVMHostUpdateCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (VMHostClient) SubAccountListVMHosts ¶
func (c VMHostClient) SubAccountListVMHosts(ctx context.Context, id AccountId) (resp SubAccountListVMHostsOperationResponse, err error)
SubAccountListVMHosts ...
func (VMHostClient) SubAccountListVMHostsComplete ¶
func (c VMHostClient) SubAccountListVMHostsComplete(ctx context.Context, id AccountId) (SubAccountListVMHostsCompleteResult, error)
SubAccountListVMHostsComplete retrieves all of the results into a single object
func (VMHostClient) SubAccountListVMHostsCompleteMatchingPredicate ¶
func (c VMHostClient) SubAccountListVMHostsCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate VMResourcesOperationPredicate) (resp SubAccountListVMHostsCompleteResult, err error)
SubAccountListVMHostsCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (VMHostClient) SubAccountVMHostPayload ¶
func (c VMHostClient) SubAccountVMHostPayload(ctx context.Context, id AccountId) (result SubAccountVMHostPayloadOperationResponse, err error)
SubAccountVMHostPayload ...
type VMHostUpdateRequest ¶
type VMHostUpdateRequest struct { State *VMHostUpdateStates `json:"state,omitempty"` VMResourceIds *[]VMResources `json:"vmResourceIds,omitempty"` }
type VMHostUpdateStates ¶
type VMHostUpdateStates string
const ( VMHostUpdateStatesDelete VMHostUpdateStates = "Delete" VMHostUpdateStatesInstall VMHostUpdateStates = "Install" )
type VMResources ¶
type VMResourcesOperationPredicate ¶
func (VMResourcesOperationPredicate) Matches ¶
func (p VMResourcesOperationPredicate) Matches(input VMResources) bool
Source Files ¶
- client.go
- constants.go
- id_account.go
- id_monitor.go
- method_monitorlistvmhosts_autorest.go
- method_monitorlistvmhostupdate_autorest.go
- method_monitorvmhostpayload_autorest.go
- method_subaccountlistvmhosts_autorest.go
- method_subaccountlistvmhostupdate_autorest.go
- method_subaccountvmhostpayload_autorest.go
- model_vmextensionpayload.go
- model_vmhostupdaterequest.go
- model_vmresources.go
- predicates.go
- version.go