Documentation ¶
Index ¶
- func ValidateHyperVSiteID(input interface{}, key string) (warnings []string, errors []error)
- type ErrorDetails
- type GetAllJobsInSiteCompleteResult
- type GetAllJobsInSiteCustomPager
- type GetAllJobsInSiteOperationResponse
- type GetJobOperationResponse
- type HyperVJob
- type HyperVJobOperationPredicate
- type HyperVJobsClient
- func (c HyperVJobsClient) GetAllJobsInSite(ctx context.Context, id HyperVSiteId) (result 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) (result 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 GetAllJobsInSiteCustomPager ¶
func (*GetAllJobsInSiteCustomPager) NextPageLink ¶
func (p *GetAllJobsInSiteCustomPager) NextPageLink() *odata.Link
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 ¶
type HyperVJobsClient struct {
Client *resourcemanager.Client
}
func NewHyperVJobsClientWithBaseURI ¶
func NewHyperVJobsClientWithBaseURI(sdkApi sdkEnv.Api) (*HyperVJobsClient, error)
func (HyperVJobsClient) GetAllJobsInSite ¶
func (c HyperVJobsClient) GetAllJobsInSite(ctx context.Context, id HyperVSiteId) (result GetAllJobsInSiteOperationResponse, err error)
GetAllJobsInSite ...
func (HyperVJobsClient) GetAllJobsInSiteComplete ¶
func (c HyperVJobsClient) GetAllJobsInSiteComplete(ctx context.Context, id HyperVSiteId) (GetAllJobsInSiteCompleteResult, error)
GetAllJobsInSiteComplete retrieves all the results into a single object
func (HyperVJobsClient) GetAllJobsInSiteCompleteMatchingPredicate ¶
func (c HyperVJobsClient) GetAllJobsInSiteCompleteMatchingPredicate(ctx context.Context, id HyperVSiteId, predicate HyperVJobOperationPredicate) (result GetAllJobsInSiteCompleteResult, err error)
GetAllJobsInSiteCompleteMatchingPredicate retrieves all the results and then applies 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) 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
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"` }