Documentation ¶
Index ¶
- func ValidateHostID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateHyperVSiteID(input interface{}, key string) (warnings []string, errors []error)
- type GetAllHostsInSiteCompleteResult
- type GetAllHostsInSiteOperationOptions
- type GetAllHostsInSiteOperationResponse
- type GetHostOperationResponse
- type HealthErrorDetails
- type HostId
- type HyperVHost
- type HyperVHostClient
- func (c HyperVHostClient) GetAllHostsInSite(ctx context.Context, id HyperVSiteId, ...) (resp GetAllHostsInSiteOperationResponse, err error)
- func (c HyperVHostClient) GetAllHostsInSiteComplete(ctx context.Context, id HyperVSiteId, ...) (GetAllHostsInSiteCompleteResult, error)
- func (c HyperVHostClient) GetAllHostsInSiteCompleteMatchingPredicate(ctx context.Context, id HyperVSiteId, ...) (resp GetAllHostsInSiteCompleteResult, err error)
- func (c HyperVHostClient) GetHost(ctx context.Context, id HostId) (result GetHostOperationResponse, err error)
- func (c HyperVHostClient) PutHost(ctx context.Context, id HostId, input HyperVHost) (result PutHostOperationResponse, err error)
- type HyperVHostOperationPredicate
- type HyperVHostProperties
- type HyperVSiteId
- type PutHostOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateHostID ¶
ValidateHostID checks that 'input' can be parsed as a Host ID
func ValidateHyperVSiteID ¶
ValidateHyperVSiteID checks that 'input' can be parsed as a Hyper V Site ID
Types ¶
type GetAllHostsInSiteCompleteResult ¶
type GetAllHostsInSiteCompleteResult struct {
Items []HyperVHost
}
type GetAllHostsInSiteOperationOptions ¶
type GetAllHostsInSiteOperationOptions struct {
Filter *string
}
func DefaultGetAllHostsInSiteOperationOptions ¶
func DefaultGetAllHostsInSiteOperationOptions() GetAllHostsInSiteOperationOptions
type GetAllHostsInSiteOperationResponse ¶
type GetAllHostsInSiteOperationResponse struct { HttpResponse *http.Response Model *[]HyperVHost // contains filtered or unexported fields }
func (GetAllHostsInSiteOperationResponse) HasMore ¶
func (r GetAllHostsInSiteOperationResponse) HasMore() bool
func (GetAllHostsInSiteOperationResponse) LoadMore ¶
func (r GetAllHostsInSiteOperationResponse) LoadMore(ctx context.Context) (resp GetAllHostsInSiteOperationResponse, err error)
type GetHostOperationResponse ¶
type GetHostOperationResponse struct { HttpResponse *http.Response Model *HyperVHost }
type HealthErrorDetails ¶
type HealthErrorDetails struct { Code *string `json:"code,omitempty"` Id *int64 `json:"id,omitempty"` Message *string `json:"message,omitempty"` MessageParameters *map[string]string `json:"messageParameters,omitempty"` PossibleCauses *string `json:"possibleCauses,omitempty"` RecommendedAction *string `json:"recommendedAction,omitempty"` Severity *string `json:"severity,omitempty"` Source *string `json:"source,omitempty"` SummaryMessage *string `json:"summaryMessage,omitempty"` }
type HostId ¶
type HostId struct { SubscriptionId string ResourceGroupName string HyperVSiteName string HostName string }
HostId is a struct representing the Resource ID for a Host
func NewHostID ¶
func NewHostID(subscriptionId string, resourceGroupName string, hyperVSiteName string, hostName string) HostId
NewHostID returns a new HostId struct
func ParseHostID ¶
ParseHostID parses 'input' into a HostId
func ParseHostIDInsensitively ¶
ParseHostIDInsensitively parses 'input' case-insensitively into a HostId note: this method should only be used for API response data and not user input
func (HostId) Segments ¶
func (id HostId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Host ID
type HyperVHost ¶
type HyperVHost struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *HyperVHostProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type HyperVHostClient ¶
func NewHyperVHostClientWithBaseURI ¶
func NewHyperVHostClientWithBaseURI(endpoint string) HyperVHostClient
func (HyperVHostClient) GetAllHostsInSite ¶
func (c HyperVHostClient) GetAllHostsInSite(ctx context.Context, id HyperVSiteId, options GetAllHostsInSiteOperationOptions) (resp GetAllHostsInSiteOperationResponse, err error)
GetAllHostsInSite ...
func (HyperVHostClient) GetAllHostsInSiteComplete ¶
func (c HyperVHostClient) GetAllHostsInSiteComplete(ctx context.Context, id HyperVSiteId, options GetAllHostsInSiteOperationOptions) (GetAllHostsInSiteCompleteResult, error)
GetAllHostsInSiteComplete retrieves all of the results into a single object
func (HyperVHostClient) GetAllHostsInSiteCompleteMatchingPredicate ¶
func (c HyperVHostClient) GetAllHostsInSiteCompleteMatchingPredicate(ctx context.Context, id HyperVSiteId, options GetAllHostsInSiteOperationOptions, predicate HyperVHostOperationPredicate) (resp GetAllHostsInSiteCompleteResult, err error)
GetAllHostsInSiteCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (HyperVHostClient) GetHost ¶
func (c HyperVHostClient) GetHost(ctx context.Context, id HostId) (result GetHostOperationResponse, err error)
GetHost ...
func (HyperVHostClient) PutHost ¶
func (c HyperVHostClient) PutHost(ctx context.Context, id HostId, input HyperVHost) (result PutHostOperationResponse, err error)
PutHost ...
type HyperVHostOperationPredicate ¶
func (HyperVHostOperationPredicate) Matches ¶
func (p HyperVHostOperationPredicate) Matches(input HyperVHost) bool
type HyperVHostProperties ¶
type HyperVHostProperties struct { CreatedTimestamp *string `json:"createdTimestamp,omitempty"` Errors *[]HealthErrorDetails `json:"errors,omitempty"` Fqdn *string `json:"fqdn,omitempty"` RunAsAccountId *string `json:"runAsAccountId,omitempty"` UpdatedTimestamp *string `json:"updatedTimestamp,omitempty"` Version *string `json:"version,omitempty"` }
type HyperVSiteId ¶
HyperVSiteId is a struct representing the Resource ID for a Hyper V Site
func NewHyperVSiteID ¶
func NewHyperVSiteID(subscriptionId string, resourceGroupName string, hyperVSiteName string) HyperVSiteId
NewHyperVSiteID returns a new HyperVSiteId struct
func ParseHyperVSiteID ¶
func ParseHyperVSiteID(input string) (*HyperVSiteId, error)
ParseHyperVSiteID parses 'input' into a HyperVSiteId
func ParseHyperVSiteIDInsensitively ¶
func ParseHyperVSiteIDInsensitively(input string) (*HyperVSiteId, error)
ParseHyperVSiteIDInsensitively parses 'input' case-insensitively into a HyperVSiteId note: this method should only be used for API response data and not user input
func (HyperVSiteId) ID ¶
func (id HyperVSiteId) ID() string
ID returns the formatted Hyper V Site ID
func (HyperVSiteId) Segments ¶
func (id HyperVSiteId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Hyper V Site ID
func (HyperVSiteId) String ¶
func (id HyperVSiteId) String() string
String returns a human-readable description of this Hyper V Site ID