Documentation ¶
Index ¶
- func ValidateVMwareSiteID(input interface{}, key string) (warnings []string, errors []error)
- type ErrorDetails
- type GetAllJobsInSiteCompleteResult
- type GetAllJobsInSiteCustomPager
- type GetAllJobsInSiteOperationResponse
- type GetJobOperationResponse
- type JobProperties
- type JobsClient
- func (c JobsClient) GetAllJobsInSite(ctx context.Context, id VMwareSiteId) (result GetAllJobsInSiteOperationResponse, err error)
- func (c JobsClient) GetAllJobsInSiteComplete(ctx context.Context, id VMwareSiteId) (GetAllJobsInSiteCompleteResult, error)
- func (c JobsClient) GetAllJobsInSiteCompleteMatchingPredicate(ctx context.Context, id VMwareSiteId, predicate VMwareJobOperationPredicate) (result GetAllJobsInSiteCompleteResult, err error)
- func (c JobsClient) GetJob(ctx context.Context, id commonids.VMwareSiteJobId) (result GetJobOperationResponse, err error)
- type VMwareJob
- type VMwareJobOperationPredicate
- type VMwareSiteId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateVMwareSiteID ¶
ValidateVMwareSiteID checks that 'input' can be parsed as a V Mware 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 ¶ added in v0.20240628.1153531
func (*GetAllJobsInSiteCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *GetAllJobsInSiteCustomPager) NextPageLink() *odata.Link
type GetJobOperationResponse ¶
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"` }
type JobsClient ¶
type JobsClient struct {
Client *resourcemanager.Client
}
func NewJobsClientWithBaseURI ¶
func NewJobsClientWithBaseURI(sdkApi sdkEnv.Api) (*JobsClient, error)
func (JobsClient) GetAllJobsInSite ¶
func (c JobsClient) GetAllJobsInSite(ctx context.Context, id VMwareSiteId) (result GetAllJobsInSiteOperationResponse, err error)
GetAllJobsInSite ...
func (JobsClient) GetAllJobsInSiteComplete ¶
func (c JobsClient) GetAllJobsInSiteComplete(ctx context.Context, id VMwareSiteId) (GetAllJobsInSiteCompleteResult, error)
GetAllJobsInSiteComplete retrieves all the results into a single object
func (JobsClient) GetAllJobsInSiteCompleteMatchingPredicate ¶
func (c JobsClient) GetAllJobsInSiteCompleteMatchingPredicate(ctx context.Context, id VMwareSiteId, predicate VMwareJobOperationPredicate) (result GetAllJobsInSiteCompleteResult, err error)
GetAllJobsInSiteCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (JobsClient) GetJob ¶
func (c JobsClient) GetJob(ctx context.Context, id commonids.VMwareSiteJobId) (result GetJobOperationResponse, err error)
GetJob ...
type VMwareJob ¶
type VMwareJob struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *JobProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type VMwareJobOperationPredicate ¶
func (VMwareJobOperationPredicate) Matches ¶
func (p VMwareJobOperationPredicate) Matches(input VMwareJob) bool
type VMwareSiteId ¶
VMwareSiteId is a struct representing the Resource ID for a V Mware Site
func NewVMwareSiteID ¶
func NewVMwareSiteID(subscriptionId string, resourceGroupName string, vmwareSiteName string) VMwareSiteId
NewVMwareSiteID returns a new VMwareSiteId struct
func ParseVMwareSiteID ¶
func ParseVMwareSiteID(input string) (*VMwareSiteId, error)
ParseVMwareSiteID parses 'input' into a VMwareSiteId
func ParseVMwareSiteIDInsensitively ¶
func ParseVMwareSiteIDInsensitively(input string) (*VMwareSiteId, error)
ParseVMwareSiteIDInsensitively parses 'input' case-insensitively into a VMwareSiteId note: this method should only be used for API response data and not user input
func (*VMwareSiteId) FromParseResult ¶
func (id *VMwareSiteId) FromParseResult(input resourceids.ParseResult) error
func (VMwareSiteId) ID ¶
func (id VMwareSiteId) ID() string
ID returns the formatted V Mware Site ID
func (VMwareSiteId) Segments ¶
func (id VMwareSiteId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this V Mware Site ID
func (VMwareSiteId) String ¶
func (id VMwareSiteId) String() string
String returns a human-readable description of this V Mware Site ID