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 GetAllHostsInSiteCustomPager
- type GetAllHostsInSiteOperationOptions
- type GetAllHostsInSiteOperationResponse
- type GetHostOperationResponse
- type HealthErrorDetails
- type HostId
- type HyperVHost
- type HyperVHostClient
- func (c HyperVHostClient) GetAllHostsInSite(ctx context.Context, id HyperVSiteId, ...) (result GetAllHostsInSiteOperationResponse, err error)
- func (c HyperVHostClient) GetAllHostsInSiteComplete(ctx context.Context, id HyperVSiteId, ...) (GetAllHostsInSiteCompleteResult, error)
- func (c HyperVHostClient) GetAllHostsInSiteCompleteMatchingPredicate(ctx context.Context, id HyperVSiteId, ...) (result 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 { LatestHttpResponse *http.Response Items []HyperVHost }
type GetAllHostsInSiteCustomPager ¶ added in v0.20240628.1153531
func (*GetAllHostsInSiteCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *GetAllHostsInSiteCustomPager) NextPageLink() *odata.Link
type GetAllHostsInSiteOperationOptions ¶
type GetAllHostsInSiteOperationOptions struct {
Filter *string
}
func DefaultGetAllHostsInSiteOperationOptions ¶
func DefaultGetAllHostsInSiteOperationOptions() GetAllHostsInSiteOperationOptions
func (GetAllHostsInSiteOperationOptions) ToHeaders ¶
func (o GetAllHostsInSiteOperationOptions) ToHeaders() *client.Headers
func (GetAllHostsInSiteOperationOptions) ToOData ¶
func (o GetAllHostsInSiteOperationOptions) ToOData() *odata.Query
func (GetAllHostsInSiteOperationOptions) ToQuery ¶
func (o GetAllHostsInSiteOperationOptions) ToQuery() *client.QueryParams
type GetAllHostsInSiteOperationResponse ¶
type GetAllHostsInSiteOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]HyperVHost }
type GetHostOperationResponse ¶
type GetHostOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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) FromParseResult ¶
func (id *HostId) FromParseResult(input resourceids.ParseResult) error
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 ¶
type HyperVHostClient struct {
Client *resourcemanager.Client
}
func NewHyperVHostClientWithBaseURI ¶
func NewHyperVHostClientWithBaseURI(sdkApi sdkEnv.Api) (*HyperVHostClient, error)
func (HyperVHostClient) GetAllHostsInSite ¶
func (c HyperVHostClient) GetAllHostsInSite(ctx context.Context, id HyperVSiteId, options GetAllHostsInSiteOperationOptions) (result GetAllHostsInSiteOperationResponse, err error)
GetAllHostsInSite ...
func (HyperVHostClient) GetAllHostsInSiteComplete ¶
func (c HyperVHostClient) GetAllHostsInSiteComplete(ctx context.Context, id HyperVSiteId, options GetAllHostsInSiteOperationOptions) (GetAllHostsInSiteCompleteResult, error)
GetAllHostsInSiteComplete retrieves all the results into a single object
func (HyperVHostClient) GetAllHostsInSiteCompleteMatchingPredicate ¶
func (c HyperVHostClient) GetAllHostsInSiteCompleteMatchingPredicate(ctx context.Context, id HyperVSiteId, options GetAllHostsInSiteOperationOptions, predicate HyperVHostOperationPredicate) (result GetAllHostsInSiteCompleteResult, err error)
GetAllHostsInSiteCompleteMatchingPredicate retrieves all the results and then applies 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) FromParseResult ¶
func (id *HyperVSiteId) FromParseResult(input resourceids.ParseResult) error
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