Documentation ¶
Index ¶
- func ValidateHyperVSiteID(input interface{}, key string) (warnings []string, errors []error)
- type ErrorDetails
- type GetAllJobsInSiteCompleteResult
- type GetAllJobsInSiteOperationResponse
- type GetJobOperationResponse
- type HyperVJob
- type HyperVJobOperationPredicate
- type HyperVJobsClient
- func (c HyperVJobsClient) GetAllJobsInSite(ctx context.Context, id HyperVSiteId) (resp GetAllJobsInSiteOperationResponse, err error)
- func (c HyperVJobsClient) GetAllJobsInSiteComplete(ctx context.Context, id HyperVSiteId) (GetAllJobsInSiteCompleteResult, error)
- func (c HyperVJobsClient) GetAllJobsInSiteCompleteMatchingPredicate(ctx context.Context, id HyperVSiteId, predicate HyperVJobOperationPredicate) (resp GetAllJobsInSiteCompleteResult, err error)
- func (c HyperVJobsClient) GetJob(ctx context.Context, id commonids.HyperVSiteJobId) (result GetJobOperationResponse, err error)
- type HyperVSiteId
- type JobProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateHyperVSiteID ¶
ValidateHyperVSiteID checks that 'input' can be parsed as a Hyper V Site ID
Types ¶
type ErrorDetails ¶
type ErrorDetails struct { AgentErrorCode *string `json:"agentErrorCode,omitempty"` AgentErrorMessage *string `json:"agentErrorMessage,omitempty"` AgentErrorPossibleCauses *string `json:"agentErrorPossibleCauses,omitempty"` AgentErrorRecommendedAction *string `json:"agentErrorRecommendedAction,omitempty"` Code *string `json:"code,omitempty"` IsAgentReportedError *bool `json:"isAgentReportedError,omitempty"` Message *string `json:"message,omitempty"` PossibleCauses *string `json:"possibleCauses,omitempty"` RecommendedAction *string `json:"recommendedAction,omitempty"` Severity *string `json:"severity,omitempty"` }
type GetAllJobsInSiteCompleteResult ¶
type GetAllJobsInSiteCompleteResult struct {
Items []HyperVJob
}
type GetAllJobsInSiteOperationResponse ¶
type GetAllJobsInSiteOperationResponse struct { HttpResponse *http.Response Model *[]HyperVJob // contains filtered or unexported fields }
func (GetAllJobsInSiteOperationResponse) HasMore ¶
func (r GetAllJobsInSiteOperationResponse) HasMore() bool
func (GetAllJobsInSiteOperationResponse) LoadMore ¶
func (r GetAllJobsInSiteOperationResponse) LoadMore(ctx context.Context) (resp GetAllJobsInSiteOperationResponse, err error)
type GetJobOperationResponse ¶
type HyperVJob ¶
type HyperVJob struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *JobProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type HyperVJobOperationPredicate ¶
func (HyperVJobOperationPredicate) Matches ¶
func (p HyperVJobOperationPredicate) Matches(input HyperVJob) bool
type HyperVJobsClient ¶
func NewHyperVJobsClientWithBaseURI ¶
func NewHyperVJobsClientWithBaseURI(endpoint string) HyperVJobsClient
func (HyperVJobsClient) GetAllJobsInSite ¶
func (c HyperVJobsClient) GetAllJobsInSite(ctx context.Context, id HyperVSiteId) (resp GetAllJobsInSiteOperationResponse, err error)
GetAllJobsInSite ...
func (HyperVJobsClient) GetAllJobsInSiteComplete ¶
func (c HyperVJobsClient) GetAllJobsInSiteComplete(ctx context.Context, id HyperVSiteId) (GetAllJobsInSiteCompleteResult, error)
GetAllJobsInSiteComplete retrieves all of the results into a single object
func (HyperVJobsClient) GetAllJobsInSiteCompleteMatchingPredicate ¶
func (c HyperVJobsClient) GetAllJobsInSiteCompleteMatchingPredicate(ctx context.Context, id HyperVSiteId, predicate HyperVJobOperationPredicate) (resp GetAllJobsInSiteCompleteResult, err error)
GetAllJobsInSiteCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (HyperVJobsClient) GetJob ¶
func (c HyperVJobsClient) GetJob(ctx context.Context, id commonids.HyperVSiteJobId) (result GetJobOperationResponse, err error)
GetJob ...
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
type JobProperties ¶
type JobProperties struct { ActivityId *string `json:"activityId,omitempty"` ClientRequestId *string `json:"clientRequestId,omitempty"` DisplayName *string `json:"displayName,omitempty"` EndTime *string `json:"endTime,omitempty"` Errors *[]ErrorDetails `json:"errors,omitempty"` StartTime *string `json:"startTime,omitempty"` Status *string `json:"status,omitempty"` }