Documentation ¶
Index ¶
- func ValidateMonitorID(input interface{}, key string) (warnings []string, errors []error)
- type MonitorId
- type VMHHostListClient
- func (c VMHHostListClient) VMHostList(ctx context.Context, id MonitorId) (result VMHostListOperationResponse, err error)
- func (c VMHHostListClient) VMHostListComplete(ctx context.Context, id MonitorId) (VMHostListCompleteResult, error)
- func (c VMHHostListClient) VMHostListCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate VMResourcesOperationPredicate) (result VMHostListCompleteResult, err error)
- type VMHostListCompleteResult
- type VMHostListOperationResponse
- type VMResources
- type VMResourcesOperationPredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateMonitorID ¶
ValidateMonitorID checks that 'input' can be parsed as a Monitor ID
Types ¶
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 VMHHostListClient ¶
type VMHHostListClient struct {
Client *resourcemanager.Client
}
func NewVMHHostListClientWithBaseURI ¶
func NewVMHHostListClientWithBaseURI(api environments.Api) (*VMHHostListClient, error)
func (VMHHostListClient) VMHostList ¶
func (c VMHHostListClient) VMHostList(ctx context.Context, id MonitorId) (result VMHostListOperationResponse, err error)
VMHostList ...
func (VMHHostListClient) VMHostListComplete ¶
func (c VMHHostListClient) VMHostListComplete(ctx context.Context, id MonitorId) (VMHostListCompleteResult, error)
VMHostListComplete retrieves all the results into a single object
func (VMHHostListClient) VMHostListCompleteMatchingPredicate ¶
func (c VMHHostListClient) VMHostListCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate VMResourcesOperationPredicate) (result VMHostListCompleteResult, err error)
VMHostListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type VMHostListCompleteResult ¶
type VMHostListCompleteResult struct {
Items []VMResources
}
type VMHostListOperationResponse ¶
type VMHostListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VMResources }
type VMResources ¶
type VMResources struct {
VMResourceId *string `json:"vmResourceId,omitempty"`
}
type VMResourcesOperationPredicate ¶
type VMResourcesOperationPredicate struct {
VMResourceId *string
}
func (VMResourcesOperationPredicate) Matches ¶
func (p VMResourcesOperationPredicate) Matches(input VMResources) bool
Click to show internal directories.
Click to hide internal directories.