Documentation ¶
Index ¶
- func ValidateClusterID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateHyperVSiteID(input interface{}, key string) (warnings []string, errors []error)
- type ClusterId
- type GetAllClustersInSiteCompleteResult
- type GetAllClustersInSiteOperationOptions
- type GetAllClustersInSiteOperationResponse
- type GetClusterOperationResponse
- type HealthErrorDetails
- type HyperVCluster
- type HyperVClusterClient
- func (c HyperVClusterClient) GetAllClustersInSite(ctx context.Context, id HyperVSiteId, ...) (result GetAllClustersInSiteOperationResponse, err error)
- func (c HyperVClusterClient) GetAllClustersInSiteComplete(ctx context.Context, id HyperVSiteId, ...) (GetAllClustersInSiteCompleteResult, error)
- func (c HyperVClusterClient) GetAllClustersInSiteCompleteMatchingPredicate(ctx context.Context, id HyperVSiteId, ...) (result GetAllClustersInSiteCompleteResult, err error)
- func (c HyperVClusterClient) GetCluster(ctx context.Context, id ClusterId) (result GetClusterOperationResponse, err error)
- func (c HyperVClusterClient) PutCluster(ctx context.Context, id ClusterId, input HyperVCluster) (result PutClusterOperationResponse, err error)
- type HyperVClusterOperationPredicate
- type HyperVClusterProperties
- type HyperVSiteId
- type PutClusterOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateClusterID ¶
ValidateClusterID checks that 'input' can be parsed as a Cluster ID
func ValidateHyperVSiteID ¶
ValidateHyperVSiteID checks that 'input' can be parsed as a Hyper V Site ID
Types ¶
type ClusterId ¶
type ClusterId struct { SubscriptionId string ResourceGroupName string HyperVSiteName string ClusterName string }
ClusterId is a struct representing the Resource ID for a Cluster
func NewClusterID ¶
func NewClusterID(subscriptionId string, resourceGroupName string, hyperVSiteName string, clusterName string) ClusterId
NewClusterID returns a new ClusterId struct
func ParseClusterID ¶
ParseClusterID parses 'input' into a ClusterId
func ParseClusterIDInsensitively ¶
ParseClusterIDInsensitively parses 'input' case-insensitively into a ClusterId note: this method should only be used for API response data and not user input
func (ClusterId) Segments ¶
func (id ClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cluster ID
type GetAllClustersInSiteCompleteResult ¶
type GetAllClustersInSiteCompleteResult struct {
Items []HyperVCluster
}
type GetAllClustersInSiteOperationOptions ¶
type GetAllClustersInSiteOperationOptions struct {
Filter *string
}
func DefaultGetAllClustersInSiteOperationOptions ¶
func DefaultGetAllClustersInSiteOperationOptions() GetAllClustersInSiteOperationOptions
func (GetAllClustersInSiteOperationOptions) ToHeaders ¶
func (o GetAllClustersInSiteOperationOptions) ToHeaders() *client.Headers
func (GetAllClustersInSiteOperationOptions) ToOData ¶
func (o GetAllClustersInSiteOperationOptions) ToOData() *odata.Query
func (GetAllClustersInSiteOperationOptions) ToQuery ¶
func (o GetAllClustersInSiteOperationOptions) ToQuery() *client.QueryParams
type GetAllClustersInSiteOperationResponse ¶
type GetAllClustersInSiteOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]HyperVCluster }
type GetClusterOperationResponse ¶
type GetClusterOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *HyperVCluster }
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 HyperVCluster ¶
type HyperVCluster struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *HyperVClusterProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type HyperVClusterClient ¶
type HyperVClusterClient struct {
Client *resourcemanager.Client
}
func NewHyperVClusterClientWithBaseURI ¶
func NewHyperVClusterClientWithBaseURI(api environments.Api) (*HyperVClusterClient, error)
func (HyperVClusterClient) GetAllClustersInSite ¶
func (c HyperVClusterClient) GetAllClustersInSite(ctx context.Context, id HyperVSiteId, options GetAllClustersInSiteOperationOptions) (result GetAllClustersInSiteOperationResponse, err error)
GetAllClustersInSite ...
func (HyperVClusterClient) GetAllClustersInSiteComplete ¶
func (c HyperVClusterClient) GetAllClustersInSiteComplete(ctx context.Context, id HyperVSiteId, options GetAllClustersInSiteOperationOptions) (GetAllClustersInSiteCompleteResult, error)
GetAllClustersInSiteComplete retrieves all the results into a single object
func (HyperVClusterClient) GetAllClustersInSiteCompleteMatchingPredicate ¶
func (c HyperVClusterClient) GetAllClustersInSiteCompleteMatchingPredicate(ctx context.Context, id HyperVSiteId, options GetAllClustersInSiteOperationOptions, predicate HyperVClusterOperationPredicate) (result GetAllClustersInSiteCompleteResult, err error)
GetAllClustersInSiteCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (HyperVClusterClient) GetCluster ¶
func (c HyperVClusterClient) GetCluster(ctx context.Context, id ClusterId) (result GetClusterOperationResponse, err error)
GetCluster ...
func (HyperVClusterClient) PutCluster ¶
func (c HyperVClusterClient) PutCluster(ctx context.Context, id ClusterId, input HyperVCluster) (result PutClusterOperationResponse, err error)
PutCluster ...
type HyperVClusterOperationPredicate ¶
func (HyperVClusterOperationPredicate) Matches ¶
func (p HyperVClusterOperationPredicate) Matches(input HyperVCluster) bool
type HyperVClusterProperties ¶
type HyperVClusterProperties struct { CreatedTimestamp *string `json:"createdTimestamp,omitempty"` Errors *[]HealthErrorDetails `json:"errors,omitempty"` Fqdn *string `json:"fqdn,omitempty"` FunctionalLevel *int64 `json:"functionalLevel,omitempty"` HostFqdnList *[]string `json:"hostFqdnList,omitempty"` RunAsAccountId *string `json:"runAsAccountId,omitempty"` Status *string `json:"status,omitempty"` UpdatedTimestamp *string `json:"updatedTimestamp,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