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) (result 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, ...) (result MonitorListVMHostUpdateCompleteResult, err error)
- func (c VMHostClient) MonitorListVMHosts(ctx context.Context, id MonitorId) (result 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) (result 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) (result 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, ...) (result SubAccountListVMHostUpdateCompleteResult, err error)
- func (c VMHostClient) SubAccountListVMHosts(ctx context.Context, id AccountId) (result 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) (result 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) FromParseResult ¶
func (id *AccountId) FromParseResult(input resourceids.ParseResult) error
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) FromParseResult ¶
func (id *MonitorId) FromParseResult(input resourceids.ParseResult) error
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 { LatestHttpResponse *http.Response Items []VMResources }
type MonitorListVMHostUpdateOperationResponse ¶
type MonitorListVMHostUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VMResources }
type MonitorListVMHostsCompleteResult ¶
type MonitorListVMHostsCompleteResult struct { LatestHttpResponse *http.Response Items []VMResources }
type MonitorListVMHostsOperationResponse ¶
type MonitorListVMHostsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VMResources }
type MonitorVMHostPayloadOperationResponse ¶
type MonitorVMHostPayloadOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VMExtensionPayload }
type SubAccountListVMHostUpdateCompleteResult ¶
type SubAccountListVMHostUpdateCompleteResult struct { LatestHttpResponse *http.Response Items []VMResources }
type SubAccountListVMHostUpdateOperationResponse ¶
type SubAccountListVMHostUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VMResources }
type SubAccountListVMHostsCompleteResult ¶
type SubAccountListVMHostsCompleteResult struct { LatestHttpResponse *http.Response Items []VMResources }
type SubAccountListVMHostsOperationResponse ¶
type SubAccountListVMHostsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VMResources }
type SubAccountVMHostPayloadOperationResponse ¶
type SubAccountVMHostPayloadOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VMExtensionPayload }
type VMExtensionPayload ¶
type VMHostClient ¶
type VMHostClient struct {
Client *resourcemanager.Client
}
func NewVMHostClientWithBaseURI ¶
func NewVMHostClientWithBaseURI(sdkApi sdkEnv.Api) (*VMHostClient, error)
func (VMHostClient) MonitorListVMHostUpdate ¶
func (c VMHostClient) MonitorListVMHostUpdate(ctx context.Context, id MonitorId, input VMHostUpdateRequest) (result MonitorListVMHostUpdateOperationResponse, err error)
MonitorListVMHostUpdate ...
func (VMHostClient) MonitorListVMHostUpdateComplete ¶
func (c VMHostClient) MonitorListVMHostUpdateComplete(ctx context.Context, id MonitorId, input VMHostUpdateRequest) (MonitorListVMHostUpdateCompleteResult, error)
MonitorListVMHostUpdateComplete retrieves all the results into a single object
func (VMHostClient) MonitorListVMHostUpdateCompleteMatchingPredicate ¶
func (c VMHostClient) MonitorListVMHostUpdateCompleteMatchingPredicate(ctx context.Context, id MonitorId, input VMHostUpdateRequest, predicate VMResourcesOperationPredicate) (result MonitorListVMHostUpdateCompleteResult, err error)
MonitorListVMHostUpdateCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VMHostClient) MonitorListVMHosts ¶
func (c VMHostClient) MonitorListVMHosts(ctx context.Context, id MonitorId) (result MonitorListVMHostsOperationResponse, err error)
MonitorListVMHosts ...
func (VMHostClient) MonitorListVMHostsComplete ¶
func (c VMHostClient) MonitorListVMHostsComplete(ctx context.Context, id MonitorId) (MonitorListVMHostsCompleteResult, error)
MonitorListVMHostsComplete retrieves all the results into a single object
func (VMHostClient) MonitorListVMHostsCompleteMatchingPredicate ¶
func (c VMHostClient) MonitorListVMHostsCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate VMResourcesOperationPredicate) (result MonitorListVMHostsCompleteResult, err error)
MonitorListVMHostsCompleteMatchingPredicate retrieves all the results and then applies 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) (result SubAccountListVMHostUpdateOperationResponse, err error)
SubAccountListVMHostUpdate ...
func (VMHostClient) SubAccountListVMHostUpdateComplete ¶
func (c VMHostClient) SubAccountListVMHostUpdateComplete(ctx context.Context, id AccountId, input VMHostUpdateRequest) (SubAccountListVMHostUpdateCompleteResult, error)
SubAccountListVMHostUpdateComplete retrieves all the results into a single object
func (VMHostClient) SubAccountListVMHostUpdateCompleteMatchingPredicate ¶
func (c VMHostClient) SubAccountListVMHostUpdateCompleteMatchingPredicate(ctx context.Context, id AccountId, input VMHostUpdateRequest, predicate VMResourcesOperationPredicate) (result SubAccountListVMHostUpdateCompleteResult, err error)
SubAccountListVMHostUpdateCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VMHostClient) SubAccountListVMHosts ¶
func (c VMHostClient) SubAccountListVMHosts(ctx context.Context, id AccountId) (result SubAccountListVMHostsOperationResponse, err error)
SubAccountListVMHosts ...
func (VMHostClient) SubAccountListVMHostsComplete ¶
func (c VMHostClient) SubAccountListVMHostsComplete(ctx context.Context, id AccountId) (SubAccountListVMHostsCompleteResult, error)
SubAccountListVMHostsComplete retrieves all the results into a single object
func (VMHostClient) SubAccountListVMHostsCompleteMatchingPredicate ¶
func (c VMHostClient) SubAccountListVMHostsCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate VMResourcesOperationPredicate) (result SubAccountListVMHostsCompleteResult, err error)
SubAccountListVMHostsCompleteMatchingPredicate retrieves all the results and then applies 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" )
func (*VMHostUpdateStates) UnmarshalJSON ¶
func (s *VMHostUpdateStates) UnmarshalJSON(bytes []byte) error
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.go
- method_monitorlistvmhostupdate.go
- method_monitorvmhostpayload.go
- method_subaccountlistvmhosts.go
- method_subaccountlistvmhostupdate.go
- method_subaccountvmhostpayload.go
- model_vmextensionpayload.go
- model_vmhostupdaterequest.go
- model_vmresources.go
- predicates.go
- version.go