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)
- 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 JobStepExecutionsClient
- func (c JobStepExecutionsClient) Get(ctx context.Context, id ExecutionStepId) (result GetOperationResponse, err error)
- func (c JobStepExecutionsClient) ListByJobExecution(ctx context.Context, id ExecutionId, ...) (result ListByJobExecutionOperationResponse, err error)
- func (c JobStepExecutionsClient) ListByJobExecutionComplete(ctx context.Context, id ExecutionId, ...) (ListByJobExecutionCompleteResult, error)
- func (c JobStepExecutionsClient) ListByJobExecutionCompleteMatchingPredicate(ctx context.Context, id ExecutionId, ...) (result ListByJobExecutionCompleteResult, err error)
- type JobTargetType
- type ListByJobExecutionCompleteResult
- type ListByJobExecutionOperationOptions
- type ListByJobExecutionOperationResponse
- type ProvisioningState
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
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 ¶ added in v0.20231127.1171502
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 ¶ added in v0.20231127.1171502
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 JobStepExecutionsClient ¶
type JobStepExecutionsClient struct {
Client *resourcemanager.Client
}
func NewJobStepExecutionsClientWithBaseURI ¶
func NewJobStepExecutionsClientWithBaseURI(sdkApi sdkEnv.Api) (*JobStepExecutionsClient, error)
func (JobStepExecutionsClient) Get ¶
func (c JobStepExecutionsClient) Get(ctx context.Context, id ExecutionStepId) (result GetOperationResponse, err error)
Get ...
func (JobStepExecutionsClient) ListByJobExecution ¶
func (c JobStepExecutionsClient) ListByJobExecution(ctx context.Context, id ExecutionId, options ListByJobExecutionOperationOptions) (result ListByJobExecutionOperationResponse, err error)
ListByJobExecution ...
func (JobStepExecutionsClient) ListByJobExecutionComplete ¶
func (c JobStepExecutionsClient) ListByJobExecutionComplete(ctx context.Context, id ExecutionId, options ListByJobExecutionOperationOptions) (ListByJobExecutionCompleteResult, error)
ListByJobExecutionComplete retrieves all the results into a single object
func (JobStepExecutionsClient) ListByJobExecutionCompleteMatchingPredicate ¶
func (c JobStepExecutionsClient) ListByJobExecutionCompleteMatchingPredicate(ctx context.Context, id ExecutionId, options ListByJobExecutionOperationOptions, predicate JobExecutionOperationPredicate) (result ListByJobExecutionCompleteResult, err error)
ListByJobExecutionCompleteMatchingPredicate 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 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