Documentation ¶
Index ¶
- func PossibleValuesForJobExecutionLifecycle() []string
- func PossibleValuesForJobTargetType() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateExecutionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateExecutionStepID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTargetID(input interface{}, key string) (warnings []string, errors []error)
- type ExecutionId
- type ExecutionStepId
- type GetOperationResponse
- type JobExecution
- type JobExecutionLifecycle
- type JobExecutionOperationPredicate
- type JobExecutionProperties
- func (o *JobExecutionProperties) GetCreateTimeAsTime() (*time.Time, error)
- func (o *JobExecutionProperties) GetCurrentAttemptStartTimeAsTime() (*time.Time, error)
- func (o *JobExecutionProperties) GetEndTimeAsTime() (*time.Time, error)
- func (o *JobExecutionProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *JobExecutionProperties) SetCreateTimeAsTime(input time.Time)
- func (o *JobExecutionProperties) SetCurrentAttemptStartTimeAsTime(input time.Time)
- func (o *JobExecutionProperties) SetEndTimeAsTime(input time.Time)
- func (o *JobExecutionProperties) SetStartTimeAsTime(input time.Time)
- type JobExecutionTarget
- type JobTargetExecutionsClient
- func (c JobTargetExecutionsClient) Get(ctx context.Context, id TargetId) (result GetOperationResponse, err error)
- func (c JobTargetExecutionsClient) ListByJobExecution(ctx context.Context, id ExecutionId, ...) (result ListByJobExecutionOperationResponse, err error)
- func (c JobTargetExecutionsClient) ListByJobExecutionComplete(ctx context.Context, id ExecutionId, ...) (ListByJobExecutionCompleteResult, error)
- func (c JobTargetExecutionsClient) ListByJobExecutionCompleteMatchingPredicate(ctx context.Context, id ExecutionId, ...) (result ListByJobExecutionCompleteResult, err error)
- func (c JobTargetExecutionsClient) ListByStep(ctx context.Context, id ExecutionStepId, options ListByStepOperationOptions) (result ListByStepOperationResponse, err error)
- func (c JobTargetExecutionsClient) ListByStepComplete(ctx context.Context, id ExecutionStepId, options ListByStepOperationOptions) (ListByStepCompleteResult, error)
- func (c JobTargetExecutionsClient) ListByStepCompleteMatchingPredicate(ctx context.Context, id ExecutionStepId, options ListByStepOperationOptions, ...) (result ListByStepCompleteResult, err error)
- type JobTargetType
- type ListByJobExecutionCompleteResult
- type ListByJobExecutionOperationOptions
- type ListByJobExecutionOperationResponse
- type ListByStepCompleteResult
- type ListByStepOperationOptions
- type ListByStepOperationResponse
- type ProvisioningState
- type TargetId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForJobExecutionLifecycle ¶
func PossibleValuesForJobExecutionLifecycle() []string
func PossibleValuesForJobTargetType ¶
func PossibleValuesForJobTargetType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateExecutionID ¶
ValidateExecutionID checks that 'input' can be parsed as a Execution ID
func ValidateExecutionStepID ¶
ValidateExecutionStepID checks that 'input' can be parsed as a Execution Step ID
func ValidateTargetID ¶
ValidateTargetID checks that 'input' can be parsed as a Target ID
Types ¶
type ExecutionId ¶
type ExecutionId struct { SubscriptionId string ResourceGroupName string ServerName string JobAgentName string JobName string JobExecutionId string }
ExecutionId is a struct representing the Resource ID for a Execution
func NewExecutionID ¶
func NewExecutionID(subscriptionId string, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionId string) ExecutionId
NewExecutionID returns a new ExecutionId struct
func ParseExecutionID ¶
func ParseExecutionID(input string) (*ExecutionId, error)
ParseExecutionID parses 'input' into a ExecutionId
func ParseExecutionIDInsensitively ¶
func ParseExecutionIDInsensitively(input string) (*ExecutionId, error)
ParseExecutionIDInsensitively parses 'input' case-insensitively into a ExecutionId note: this method should only be used for API response data and not user input
func (*ExecutionId) FromParseResult ¶
func (id *ExecutionId) FromParseResult(input resourceids.ParseResult) error
func (ExecutionId) Segments ¶
func (id ExecutionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Execution ID
func (ExecutionId) String ¶
func (id ExecutionId) String() string
String returns a human-readable description of this Execution ID
type ExecutionStepId ¶
type ExecutionStepId struct { SubscriptionId string ResourceGroupName string ServerName string JobAgentName string JobName string JobExecutionId string StepName string }
ExecutionStepId is a struct representing the Resource ID for a Execution Step
func NewExecutionStepID ¶
func NewExecutionStepID(subscriptionId string, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionId string, stepName string) ExecutionStepId
NewExecutionStepID returns a new ExecutionStepId struct
func ParseExecutionStepID ¶
func ParseExecutionStepID(input string) (*ExecutionStepId, error)
ParseExecutionStepID parses 'input' into a ExecutionStepId
func ParseExecutionStepIDInsensitively ¶
func ParseExecutionStepIDInsensitively(input string) (*ExecutionStepId, error)
ParseExecutionStepIDInsensitively parses 'input' case-insensitively into a ExecutionStepId note: this method should only be used for API response data and not user input
func (*ExecutionStepId) FromParseResult ¶
func (id *ExecutionStepId) FromParseResult(input resourceids.ParseResult) error
func (ExecutionStepId) ID ¶
func (id ExecutionStepId) ID() string
ID returns the formatted Execution Step ID
func (ExecutionStepId) Segments ¶
func (id ExecutionStepId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Execution Step ID
func (ExecutionStepId) String ¶
func (id ExecutionStepId) String() string
String returns a human-readable description of this Execution Step ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *JobExecution }
type JobExecution ¶
type JobExecution struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *JobExecutionProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type JobExecutionLifecycle ¶
type JobExecutionLifecycle string
const ( JobExecutionLifecycleCanceled JobExecutionLifecycle = "Canceled" JobExecutionLifecycleCreated JobExecutionLifecycle = "Created" JobExecutionLifecycleFailed JobExecutionLifecycle = "Failed" JobExecutionLifecycleInProgress JobExecutionLifecycle = "InProgress" JobExecutionLifecycleSkipped JobExecutionLifecycle = "Skipped" JobExecutionLifecycleSucceeded JobExecutionLifecycle = "Succeeded" JobExecutionLifecycleSucceededWithSkipped JobExecutionLifecycle = "SucceededWithSkipped" JobExecutionLifecycleTimedOut JobExecutionLifecycle = "TimedOut" JobExecutionLifecycleWaitingForChildJobExecutions JobExecutionLifecycle = "WaitingForChildJobExecutions" JobExecutionLifecycleWaitingForRetry JobExecutionLifecycle = "WaitingForRetry" )
func (*JobExecutionLifecycle) UnmarshalJSON ¶
func (s *JobExecutionLifecycle) UnmarshalJSON(bytes []byte) error
type JobExecutionOperationPredicate ¶
func (JobExecutionOperationPredicate) Matches ¶
func (p JobExecutionOperationPredicate) Matches(input JobExecution) bool
type JobExecutionProperties ¶
type JobExecutionProperties struct { CreateTime *string `json:"createTime,omitempty"` CurrentAttemptStartTime *string `json:"currentAttemptStartTime,omitempty"` CurrentAttempts *int64 `json:"currentAttempts,omitempty"` EndTime *string `json:"endTime,omitempty"` JobExecutionId *string `json:"jobExecutionId,omitempty"` JobVersion *int64 `json:"jobVersion,omitempty"` LastMessage *string `json:"lastMessage,omitempty"` Lifecycle *JobExecutionLifecycle `json:"lifecycle,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` StartTime *string `json:"startTime,omitempty"` StepId *int64 `json:"stepId,omitempty"` StepName *string `json:"stepName,omitempty"` Target *JobExecutionTarget `json:"target,omitempty"` }
func (*JobExecutionProperties) GetCreateTimeAsTime ¶
func (o *JobExecutionProperties) GetCreateTimeAsTime() (*time.Time, error)
func (*JobExecutionProperties) GetCurrentAttemptStartTimeAsTime ¶
func (o *JobExecutionProperties) GetCurrentAttemptStartTimeAsTime() (*time.Time, error)
func (*JobExecutionProperties) GetEndTimeAsTime ¶
func (o *JobExecutionProperties) GetEndTimeAsTime() (*time.Time, error)
func (*JobExecutionProperties) GetStartTimeAsTime ¶
func (o *JobExecutionProperties) GetStartTimeAsTime() (*time.Time, error)
func (*JobExecutionProperties) SetCreateTimeAsTime ¶
func (o *JobExecutionProperties) SetCreateTimeAsTime(input time.Time)
func (*JobExecutionProperties) SetCurrentAttemptStartTimeAsTime ¶
func (o *JobExecutionProperties) SetCurrentAttemptStartTimeAsTime(input time.Time)
func (*JobExecutionProperties) SetEndTimeAsTime ¶
func (o *JobExecutionProperties) SetEndTimeAsTime(input time.Time)
func (*JobExecutionProperties) SetStartTimeAsTime ¶
func (o *JobExecutionProperties) SetStartTimeAsTime(input time.Time)
type JobExecutionTarget ¶
type JobExecutionTarget struct { DatabaseName *string `json:"databaseName,omitempty"` ServerName *string `json:"serverName,omitempty"` Type *JobTargetType `json:"type,omitempty"` }
type JobTargetExecutionsClient ¶
type JobTargetExecutionsClient struct {
Client *resourcemanager.Client
}
func NewJobTargetExecutionsClientWithBaseURI ¶
func NewJobTargetExecutionsClientWithBaseURI(sdkApi sdkEnv.Api) (*JobTargetExecutionsClient, error)
func (JobTargetExecutionsClient) Get ¶
func (c JobTargetExecutionsClient) Get(ctx context.Context, id TargetId) (result GetOperationResponse, err error)
Get ...
func (JobTargetExecutionsClient) ListByJobExecution ¶
func (c JobTargetExecutionsClient) ListByJobExecution(ctx context.Context, id ExecutionId, options ListByJobExecutionOperationOptions) (result ListByJobExecutionOperationResponse, err error)
ListByJobExecution ...
func (JobTargetExecutionsClient) ListByJobExecutionComplete ¶
func (c JobTargetExecutionsClient) ListByJobExecutionComplete(ctx context.Context, id ExecutionId, options ListByJobExecutionOperationOptions) (ListByJobExecutionCompleteResult, error)
ListByJobExecutionComplete retrieves all the results into a single object
func (JobTargetExecutionsClient) ListByJobExecutionCompleteMatchingPredicate ¶
func (c JobTargetExecutionsClient) ListByJobExecutionCompleteMatchingPredicate(ctx context.Context, id ExecutionId, options ListByJobExecutionOperationOptions, predicate JobExecutionOperationPredicate) (result ListByJobExecutionCompleteResult, err error)
ListByJobExecutionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (JobTargetExecutionsClient) ListByStep ¶
func (c JobTargetExecutionsClient) ListByStep(ctx context.Context, id ExecutionStepId, options ListByStepOperationOptions) (result ListByStepOperationResponse, err error)
ListByStep ...
func (JobTargetExecutionsClient) ListByStepComplete ¶
func (c JobTargetExecutionsClient) ListByStepComplete(ctx context.Context, id ExecutionStepId, options ListByStepOperationOptions) (ListByStepCompleteResult, error)
ListByStepComplete retrieves all the results into a single object
func (JobTargetExecutionsClient) ListByStepCompleteMatchingPredicate ¶
func (c JobTargetExecutionsClient) ListByStepCompleteMatchingPredicate(ctx context.Context, id ExecutionStepId, options ListByStepOperationOptions, predicate JobExecutionOperationPredicate) (result ListByStepCompleteResult, err error)
ListByStepCompleteMatchingPredicate retrieves all the results and then applies the predicate
type JobTargetType ¶
type JobTargetType string
const ( JobTargetTypeSqlDatabase JobTargetType = "SqlDatabase" JobTargetTypeSqlElasticPool JobTargetType = "SqlElasticPool" JobTargetTypeSqlServer JobTargetType = "SqlServer" JobTargetTypeSqlShardMap JobTargetType = "SqlShardMap" JobTargetTypeTargetGroup JobTargetType = "TargetGroup" )
func (*JobTargetType) UnmarshalJSON ¶
func (s *JobTargetType) UnmarshalJSON(bytes []byte) error
type ListByJobExecutionCompleteResult ¶
type ListByJobExecutionCompleteResult struct { LatestHttpResponse *http.Response Items []JobExecution }
type ListByJobExecutionOperationOptions ¶
type ListByJobExecutionOperationOptions struct { CreateTimeMax *string CreateTimeMin *string EndTimeMax *string EndTimeMin *string IsActive *bool Skip *int64 Top *int64 }
func DefaultListByJobExecutionOperationOptions ¶
func DefaultListByJobExecutionOperationOptions() ListByJobExecutionOperationOptions
func (ListByJobExecutionOperationOptions) ToHeaders ¶
func (o ListByJobExecutionOperationOptions) ToHeaders() *client.Headers
func (ListByJobExecutionOperationOptions) ToOData ¶
func (o ListByJobExecutionOperationOptions) ToOData() *odata.Query
func (ListByJobExecutionOperationOptions) ToQuery ¶
func (o ListByJobExecutionOperationOptions) ToQuery() *client.QueryParams
type ListByJobExecutionOperationResponse ¶
type ListByJobExecutionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]JobExecution }
type ListByStepCompleteResult ¶
type ListByStepCompleteResult struct { LatestHttpResponse *http.Response Items []JobExecution }
type ListByStepOperationOptions ¶
type ListByStepOperationOptions struct { CreateTimeMax *string CreateTimeMin *string EndTimeMax *string EndTimeMin *string IsActive *bool Skip *int64 Top *int64 }
func DefaultListByStepOperationOptions ¶
func DefaultListByStepOperationOptions() ListByStepOperationOptions
func (ListByStepOperationOptions) ToHeaders ¶
func (o ListByStepOperationOptions) ToHeaders() *client.Headers
func (ListByStepOperationOptions) ToOData ¶
func (o ListByStepOperationOptions) ToOData() *odata.Query
func (ListByStepOperationOptions) ToQuery ¶
func (o ListByStepOperationOptions) ToQuery() *client.QueryParams
type ListByStepOperationResponse ¶
type ListByStepOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]JobExecution }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateInProgress ProvisioningState = "InProgress" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type TargetId ¶
type TargetId struct { SubscriptionId string ResourceGroupName string ServerName string JobAgentName string JobName string JobExecutionId string StepName string TargetId string }
TargetId is a struct representing the Resource ID for a Target
func NewTargetID ¶
func NewTargetID(subscriptionId string, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionId string, stepName string, targetId string) TargetId
NewTargetID returns a new TargetId struct
func ParseTargetID ¶
ParseTargetID parses 'input' into a TargetId
func ParseTargetIDInsensitively ¶
ParseTargetIDInsensitively parses 'input' case-insensitively into a TargetId note: this method should only be used for API response data and not user input
func (*TargetId) FromParseResult ¶
func (id *TargetId) FromParseResult(input resourceids.ParseResult) error
func (TargetId) Segments ¶
func (id TargetId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Target ID