Documentation ¶
Index ¶
- func ValidateJobID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVersionID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type JobId
- type JobVersionsClient
- func (c JobVersionsClient) Get(ctx context.Context, id VersionId) (result GetOperationResponse, err error)
- func (c JobVersionsClient) ListByJob(ctx context.Context, id JobId) (result ListByJobOperationResponse, err error)
- func (c JobVersionsClient) ListByJobComplete(ctx context.Context, id JobId) (ListByJobCompleteResult, error)
- func (c JobVersionsClient) ListByJobCompleteMatchingPredicate(ctx context.Context, id JobId, predicate ResourceOperationPredicate) (result ListByJobCompleteResult, err error)
- type ListByJobCompleteResult
- type ListByJobOperationResponse
- type Resource
- type ResourceOperationPredicate
- type VersionId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateJobID ¶
ValidateJobID checks that 'input' can be parsed as a Job ID
func ValidateVersionID ¶
ValidateVersionID checks that 'input' can be parsed as a Version ID
Types ¶
type GetOperationResponse ¶
type JobId ¶
type JobId struct { SubscriptionId string ResourceGroupName string ServerName string JobAgentName string JobName string }
JobId is a struct representing the Resource ID for a Job
func NewJobID ¶
func NewJobID(subscriptionId string, resourceGroupName string, serverName string, jobAgentName string, jobName string) JobId
NewJobID returns a new JobId struct
func ParseJobID ¶
ParseJobID parses 'input' into a JobId
func ParseJobIDInsensitively ¶
ParseJobIDInsensitively parses 'input' case-insensitively into a JobId note: this method should only be used for API response data and not user input
func (JobId) Segments ¶
func (id JobId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Job ID
type JobVersionsClient ¶
type JobVersionsClient struct {
Client *resourcemanager.Client
}
func NewJobVersionsClientWithBaseURI ¶
func NewJobVersionsClientWithBaseURI(sdkApi sdkEnv.Api) (*JobVersionsClient, error)
func (JobVersionsClient) Get ¶
func (c JobVersionsClient) Get(ctx context.Context, id VersionId) (result GetOperationResponse, err error)
Get ...
func (JobVersionsClient) ListByJob ¶
func (c JobVersionsClient) ListByJob(ctx context.Context, id JobId) (result ListByJobOperationResponse, err error)
ListByJob ...
func (JobVersionsClient) ListByJobComplete ¶
func (c JobVersionsClient) ListByJobComplete(ctx context.Context, id JobId) (ListByJobCompleteResult, error)
ListByJobComplete retrieves all the results into a single object
func (JobVersionsClient) ListByJobCompleteMatchingPredicate ¶
func (c JobVersionsClient) ListByJobCompleteMatchingPredicate(ctx context.Context, id JobId, predicate ResourceOperationPredicate) (result ListByJobCompleteResult, err error)
ListByJobCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ListByJobCompleteResult ¶
type ListByJobCompleteResult struct {
Items []Resource
}
type ResourceOperationPredicate ¶
func (ResourceOperationPredicate) Matches ¶
func (p ResourceOperationPredicate) Matches(input Resource) bool
type VersionId ¶
type VersionId struct { SubscriptionId string ResourceGroupName string ServerName string JobAgentName string JobName string VersionName string }
VersionId is a struct representing the Resource ID for a Version
func NewVersionID ¶
func NewVersionID(subscriptionId string, resourceGroupName string, serverName string, jobAgentName string, jobName string, versionName string) VersionId
NewVersionID returns a new VersionId struct
func ParseVersionID ¶
ParseVersionID parses 'input' into a VersionId
func ParseVersionIDInsensitively ¶
ParseVersionIDInsensitively parses 'input' case-insensitively into a VersionId note: this method should only be used for API response data and not user input
func (VersionId) Segments ¶
func (id VersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Version ID