Documentation ¶
Index ¶
- func PossibleValuesForJobStepActionSource() []string
- func PossibleValuesForJobStepActionType() []string
- func PossibleValuesForJobStepOutputType() []string
- func ValidateJobID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStepID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVersionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVersionStepID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetByVersionOperationResponse
- type GetOperationResponse
- type JobId
- type JobStep
- type JobStepAction
- type JobStepActionSource
- type JobStepActionType
- type JobStepExecutionOptions
- type JobStepOperationPredicate
- type JobStepOutput
- type JobStepOutputType
- type JobStepProperties
- type JobStepsClient
- func (c JobStepsClient) CreateOrUpdate(ctx context.Context, id StepId, input JobStep) (result CreateOrUpdateOperationResponse, err error)
- func (c JobStepsClient) Delete(ctx context.Context, id StepId) (result DeleteOperationResponse, err error)
- func (c JobStepsClient) Get(ctx context.Context, id StepId) (result GetOperationResponse, err error)
- func (c JobStepsClient) GetByVersion(ctx context.Context, id VersionStepId) (result GetByVersionOperationResponse, err error)
- func (c JobStepsClient) ListByJob(ctx context.Context, id JobId) (result ListByJobOperationResponse, err error)
- func (c JobStepsClient) ListByJobComplete(ctx context.Context, id JobId) (ListByJobCompleteResult, error)
- func (c JobStepsClient) ListByJobCompleteMatchingPredicate(ctx context.Context, id JobId, predicate JobStepOperationPredicate) (result ListByJobCompleteResult, err error)
- func (c JobStepsClient) ListByVersion(ctx context.Context, id VersionId) (result ListByVersionOperationResponse, err error)
- func (c JobStepsClient) ListByVersionComplete(ctx context.Context, id VersionId) (ListByVersionCompleteResult, error)
- func (c JobStepsClient) ListByVersionCompleteMatchingPredicate(ctx context.Context, id VersionId, predicate JobStepOperationPredicate) (result ListByVersionCompleteResult, err error)
- type ListByJobCompleteResult
- type ListByJobOperationResponse
- type ListByVersionCompleteResult
- type ListByVersionOperationResponse
- type StepId
- type VersionId
- type VersionStepId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForJobStepActionSource ¶
func PossibleValuesForJobStepActionSource() []string
func PossibleValuesForJobStepActionType ¶
func PossibleValuesForJobStepActionType() []string
func PossibleValuesForJobStepOutputType ¶
func PossibleValuesForJobStepOutputType() []string
func ValidateJobID ¶
ValidateJobID checks that 'input' can be parsed as a Job ID
func ValidateStepID ¶
ValidateStepID checks that 'input' can be parsed as a Step ID
func ValidateVersionID ¶
ValidateVersionID checks that 'input' can be parsed as a Version ID
func ValidateVersionStepID ¶
ValidateVersionStepID checks that 'input' can be parsed as a Version Step ID
Types ¶
type DeleteOperationResponse ¶
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) FromParseResult ¶
func (id *JobId) FromParseResult(input resourceids.ParseResult) error
func (JobId) Segments ¶
func (id JobId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Job ID
type JobStep ¶
type JobStep struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *JobStepProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type JobStepAction ¶
type JobStepAction struct { Source *JobStepActionSource `json:"source,omitempty"` Type *JobStepActionType `json:"type,omitempty"` Value string `json:"value"` }
type JobStepActionSource ¶
type JobStepActionSource string
const (
JobStepActionSourceInline JobStepActionSource = "Inline"
)
func (*JobStepActionSource) UnmarshalJSON ¶
func (s *JobStepActionSource) UnmarshalJSON(bytes []byte) error
type JobStepActionType ¶
type JobStepActionType string
const (
JobStepActionTypeTSql JobStepActionType = "TSql"
)
func (*JobStepActionType) UnmarshalJSON ¶
func (s *JobStepActionType) UnmarshalJSON(bytes []byte) error
type JobStepExecutionOptions ¶
type JobStepExecutionOptions struct { InitialRetryIntervalSeconds *int64 `json:"initialRetryIntervalSeconds,omitempty"` MaximumRetryIntervalSeconds *int64 `json:"maximumRetryIntervalSeconds,omitempty"` RetryAttempts *int64 `json:"retryAttempts,omitempty"` RetryIntervalBackoffMultiplier *float64 `json:"retryIntervalBackoffMultiplier,omitempty"` TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty"` }
type JobStepOperationPredicate ¶
func (JobStepOperationPredicate) Matches ¶
func (p JobStepOperationPredicate) Matches(input JobStep) bool
type JobStepOutput ¶
type JobStepOutput struct { Credential string `json:"credential"` DatabaseName string `json:"databaseName"` ResourceGroupName *string `json:"resourceGroupName,omitempty"` SchemaName *string `json:"schemaName,omitempty"` ServerName string `json:"serverName"` SubscriptionId *string `json:"subscriptionId,omitempty"` TableName string `json:"tableName"` Type *JobStepOutputType `json:"type,omitempty"` }
type JobStepOutputType ¶
type JobStepOutputType string
const (
JobStepOutputTypeSqlDatabase JobStepOutputType = "SqlDatabase"
)
func (*JobStepOutputType) UnmarshalJSON ¶
func (s *JobStepOutputType) UnmarshalJSON(bytes []byte) error
type JobStepProperties ¶
type JobStepProperties struct { Action JobStepAction `json:"action"` Credential string `json:"credential"` ExecutionOptions *JobStepExecutionOptions `json:"executionOptions,omitempty"` Output *JobStepOutput `json:"output,omitempty"` StepId *int64 `json:"stepId,omitempty"` TargetGroup string `json:"targetGroup"` }
type JobStepsClient ¶
type JobStepsClient struct {
Client *resourcemanager.Client
}
func NewJobStepsClientWithBaseURI ¶
func NewJobStepsClientWithBaseURI(sdkApi sdkEnv.Api) (*JobStepsClient, error)
func (JobStepsClient) CreateOrUpdate ¶
func (c JobStepsClient) CreateOrUpdate(ctx context.Context, id StepId, input JobStep) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (JobStepsClient) Delete ¶
func (c JobStepsClient) Delete(ctx context.Context, id StepId) (result DeleteOperationResponse, err error)
Delete ...
func (JobStepsClient) Get ¶
func (c JobStepsClient) Get(ctx context.Context, id StepId) (result GetOperationResponse, err error)
Get ...
func (JobStepsClient) GetByVersion ¶
func (c JobStepsClient) GetByVersion(ctx context.Context, id VersionStepId) (result GetByVersionOperationResponse, err error)
GetByVersion ...
func (JobStepsClient) ListByJob ¶
func (c JobStepsClient) ListByJob(ctx context.Context, id JobId) (result ListByJobOperationResponse, err error)
ListByJob ...
func (JobStepsClient) ListByJobComplete ¶
func (c JobStepsClient) ListByJobComplete(ctx context.Context, id JobId) (ListByJobCompleteResult, error)
ListByJobComplete retrieves all the results into a single object
func (JobStepsClient) ListByJobCompleteMatchingPredicate ¶
func (c JobStepsClient) ListByJobCompleteMatchingPredicate(ctx context.Context, id JobId, predicate JobStepOperationPredicate) (result ListByJobCompleteResult, err error)
ListByJobCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (JobStepsClient) ListByVersion ¶
func (c JobStepsClient) ListByVersion(ctx context.Context, id VersionId) (result ListByVersionOperationResponse, err error)
ListByVersion ...
func (JobStepsClient) ListByVersionComplete ¶
func (c JobStepsClient) ListByVersionComplete(ctx context.Context, id VersionId) (ListByVersionCompleteResult, error)
ListByVersionComplete retrieves all the results into a single object
func (JobStepsClient) ListByVersionCompleteMatchingPredicate ¶
func (c JobStepsClient) ListByVersionCompleteMatchingPredicate(ctx context.Context, id VersionId, predicate JobStepOperationPredicate) (result ListByVersionCompleteResult, err error)
ListByVersionCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ListByJobCompleteResult ¶
type StepId ¶
type StepId struct { SubscriptionId string ResourceGroupName string ServerName string JobAgentName string JobName string StepName string }
StepId is a struct representing the Resource ID for a Step
func NewStepID ¶
func NewStepID(subscriptionId string, resourceGroupName string, serverName string, jobAgentName string, jobName string, stepName string) StepId
NewStepID returns a new StepId struct
func ParseStepID ¶
ParseStepID parses 'input' into a StepId
func ParseStepIDInsensitively ¶
ParseStepIDInsensitively parses 'input' case-insensitively into a StepId note: this method should only be used for API response data and not user input
func (*StepId) FromParseResult ¶
func (id *StepId) FromParseResult(input resourceids.ParseResult) error
func (StepId) Segments ¶
func (id StepId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Step ID
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) FromParseResult ¶
func (id *VersionId) FromParseResult(input resourceids.ParseResult) error
func (VersionId) Segments ¶
func (id VersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Version ID
type VersionStepId ¶
type VersionStepId struct { SubscriptionId string ResourceGroupName string ServerName string JobAgentName string JobName string VersionName string StepName string }
VersionStepId is a struct representing the Resource ID for a Version Step
func NewVersionStepID ¶
func NewVersionStepID(subscriptionId string, resourceGroupName string, serverName string, jobAgentName string, jobName string, versionName string, stepName string) VersionStepId
NewVersionStepID returns a new VersionStepId struct
func ParseVersionStepID ¶
func ParseVersionStepID(input string) (*VersionStepId, error)
ParseVersionStepID parses 'input' into a VersionStepId
func ParseVersionStepIDInsensitively ¶
func ParseVersionStepIDInsensitively(input string) (*VersionStepId, error)
ParseVersionStepIDInsensitively parses 'input' case-insensitively into a VersionStepId note: this method should only be used for API response data and not user input
func (*VersionStepId) FromParseResult ¶
func (id *VersionStepId) FromParseResult(input resourceids.ParseResult) error
func (VersionStepId) ID ¶
func (id VersionStepId) ID() string
ID returns the formatted Version Step ID
func (VersionStepId) Segments ¶
func (id VersionStepId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Version Step ID
func (VersionStepId) String ¶
func (id VersionStepId) String() string
String returns a human-readable description of this Version Step ID
Source Files ¶
- client.go
- constants.go
- id_job.go
- id_step.go
- id_version.go
- id_versionstep.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getbyversion.go
- method_listbyjob.go
- method_listbyversion.go
- model_jobstep.go
- model_jobstepaction.go
- model_jobstepexecutionoptions.go
- model_jobstepoutput.go
- model_jobstepproperties.go
- predicates.go
- version.go