This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.sql.getJobStep
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
Gets a job step in a job’s current version. Azure REST API version: 2021-11-01.
Other available API versions: 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview.
Using getJobStep
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getJobStep(args: GetJobStepArgs, opts?: InvokeOptions): Promise<GetJobStepResult>
function getJobStepOutput(args: GetJobStepOutputArgs, opts?: InvokeOptions): Output<GetJobStepResult>
def get_job_step(job_agent_name: Optional[str] = None,
job_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
server_name: Optional[str] = None,
step_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetJobStepResult
def get_job_step_output(job_agent_name: Optional[pulumi.Input[str]] = None,
job_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
server_name: Optional[pulumi.Input[str]] = None,
step_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetJobStepResult]
func LookupJobStep(ctx *Context, args *LookupJobStepArgs, opts ...InvokeOption) (*LookupJobStepResult, error)
func LookupJobStepOutput(ctx *Context, args *LookupJobStepOutputArgs, opts ...InvokeOption) LookupJobStepResultOutput
> Note: This function is named LookupJobStep
in the Go SDK.
public static class GetJobStep
{
public static Task<GetJobStepResult> InvokeAsync(GetJobStepArgs args, InvokeOptions? opts = null)
public static Output<GetJobStepResult> Invoke(GetJobStepInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetJobStepResult> getJobStep(GetJobStepArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:sql:getJobStep
arguments:
# arguments dictionary
The following arguments are supported:
- Job
Agent stringName - The name of the job agent.
- Job
Name string - The name of the job.
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Server
Name string - The name of the server.
- Step
Name string - The name of the job step.
- Job
Agent stringName - The name of the job agent.
- Job
Name string - The name of the job.
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Server
Name string - The name of the server.
- Step
Name string - The name of the job step.
- job
Agent StringName - The name of the job agent.
- job
Name String - The name of the job.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server
Name String - The name of the server.
- step
Name String - The name of the job step.
- job
Agent stringName - The name of the job agent.
- job
Name string - The name of the job.
- resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server
Name string - The name of the server.
- step
Name string - The name of the job step.
- job_
agent_ strname - The name of the job agent.
- job_
name str - The name of the job.
- resource_
group_ strname - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server_
name str - The name of the server.
- step_
name str - The name of the job step.
- job
Agent StringName - The name of the job agent.
- job
Name String - The name of the job.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server
Name String - The name of the server.
- step
Name String - The name of the job step.
getJobStep Result
The following output properties are available:
- Action
Pulumi.
Azure Native. Sql. Outputs. Job Step Action Response - The action payload of the job step.
- Credential string
- The resource ID of the job credential that will be used to connect to the targets.
- Id string
- Resource ID.
- Name string
- Resource name.
- Target
Group string - The resource ID of the target group that the job step will be executed on.
- Type string
- Resource type.
- Execution
Options Pulumi.Azure Native. Sql. Outputs. Job Step Execution Options Response - Execution options for the job step.
- Output
Pulumi.
Azure Native. Sql. Outputs. Job Step Output Response - Output destination properties of the job step.
- Step
Id int - The job step's index within the job. If not specified when creating the job step, it will be created as the last step. If not specified when updating the job step, the step id is not modified.
- Action
Job
Step Action Response - The action payload of the job step.
- Credential string
- The resource ID of the job credential that will be used to connect to the targets.
- Id string
- Resource ID.
- Name string
- Resource name.
- Target
Group string - The resource ID of the target group that the job step will be executed on.
- Type string
- Resource type.
- Execution
Options JobStep Execution Options Response - Execution options for the job step.
- Output
Job
Step Output Response - Output destination properties of the job step.
- Step
Id int - The job step's index within the job. If not specified when creating the job step, it will be created as the last step. If not specified when updating the job step, the step id is not modified.
- action
Job
Step Action Response - The action payload of the job step.
- credential String
- The resource ID of the job credential that will be used to connect to the targets.
- id String
- Resource ID.
- name String
- Resource name.
- target
Group String - The resource ID of the target group that the job step will be executed on.
- type String
- Resource type.
- execution
Options JobStep Execution Options Response - Execution options for the job step.
- output
Job
Step Output Response - Output destination properties of the job step.
- step
Id Integer - The job step's index within the job. If not specified when creating the job step, it will be created as the last step. If not specified when updating the job step, the step id is not modified.
- action
Job
Step Action Response - The action payload of the job step.
- credential string
- The resource ID of the job credential that will be used to connect to the targets.
- id string
- Resource ID.
- name string
- Resource name.
- target
Group string - The resource ID of the target group that the job step will be executed on.
- type string
- Resource type.
- execution
Options JobStep Execution Options Response - Execution options for the job step.
- output
Job
Step Output Response - Output destination properties of the job step.
- step
Id number - The job step's index within the job. If not specified when creating the job step, it will be created as the last step. If not specified when updating the job step, the step id is not modified.
- action
Job
Step Action Response - The action payload of the job step.
- credential str
- The resource ID of the job credential that will be used to connect to the targets.
- id str
- Resource ID.
- name str
- Resource name.
- target_
group str - The resource ID of the target group that the job step will be executed on.
- type str
- Resource type.
- execution_
options JobStep Execution Options Response - Execution options for the job step.
- output
Job
Step Output Response - Output destination properties of the job step.
- step_
id int - The job step's index within the job. If not specified when creating the job step, it will be created as the last step. If not specified when updating the job step, the step id is not modified.
- action Property Map
- The action payload of the job step.
- credential String
- The resource ID of the job credential that will be used to connect to the targets.
- id String
- Resource ID.
- name String
- Resource name.
- target
Group String - The resource ID of the target group that the job step will be executed on.
- type String
- Resource type.
- execution
Options Property Map - Execution options for the job step.
- output Property Map
- Output destination properties of the job step.
- step
Id Number - The job step's index within the job. If not specified when creating the job step, it will be created as the last step. If not specified when updating the job step, the step id is not modified.
Supporting Types
JobStepActionResponse
JobStepExecutionOptionsResponse
- Initial
Retry intInterval Seconds - Initial delay between retries for job step execution.
- Maximum
Retry intInterval Seconds - The maximum amount of time to wait between retries for job step execution.
- Retry
Attempts int - Maximum number of times the job step will be reattempted if the first attempt fails.
- Retry
Interval doubleBackoff Multiplier - The backoff multiplier for the time between retries.
- Timeout
Seconds int - Execution timeout for the job step.
- Initial
Retry intInterval Seconds - Initial delay between retries for job step execution.
- Maximum
Retry intInterval Seconds - The maximum amount of time to wait between retries for job step execution.
- Retry
Attempts int - Maximum number of times the job step will be reattempted if the first attempt fails.
- Retry
Interval float64Backoff Multiplier - The backoff multiplier for the time between retries.
- Timeout
Seconds int - Execution timeout for the job step.
- initial
Retry IntegerInterval Seconds - Initial delay between retries for job step execution.
- maximum
Retry IntegerInterval Seconds - The maximum amount of time to wait between retries for job step execution.
- retry
Attempts Integer - Maximum number of times the job step will be reattempted if the first attempt fails.
- retry
Interval DoubleBackoff Multiplier - The backoff multiplier for the time between retries.
- timeout
Seconds Integer - Execution timeout for the job step.
- initial
Retry numberInterval Seconds - Initial delay between retries for job step execution.
- maximum
Retry numberInterval Seconds - The maximum amount of time to wait between retries for job step execution.
- retry
Attempts number - Maximum number of times the job step will be reattempted if the first attempt fails.
- retry
Interval numberBackoff Multiplier - The backoff multiplier for the time between retries.
- timeout
Seconds number - Execution timeout for the job step.
- initial_
retry_ intinterval_ seconds - Initial delay between retries for job step execution.
- maximum_
retry_ intinterval_ seconds - The maximum amount of time to wait between retries for job step execution.
- retry_
attempts int - Maximum number of times the job step will be reattempted if the first attempt fails.
- retry_
interval_ floatbackoff_ multiplier - The backoff multiplier for the time between retries.
- timeout_
seconds int - Execution timeout for the job step.
- initial
Retry NumberInterval Seconds - Initial delay between retries for job step execution.
- maximum
Retry NumberInterval Seconds - The maximum amount of time to wait between retries for job step execution.
- retry
Attempts Number - Maximum number of times the job step will be reattempted if the first attempt fails.
- retry
Interval NumberBackoff Multiplier - The backoff multiplier for the time between retries.
- timeout
Seconds Number - Execution timeout for the job step.
JobStepOutputResponse
- Credential string
- The resource ID of the credential to use to connect to the output destination.
- Database
Name string - The output destination database.
- Server
Name string - The output destination server name.
- Table
Name string - The output destination table.
- Resource
Group stringName - The output destination resource group.
- Schema
Name string - The output destination schema.
- Subscription
Id string - The output destination subscription id.
- Type string
- The output destination type.
- Credential string
- The resource ID of the credential to use to connect to the output destination.
- Database
Name string - The output destination database.
- Server
Name string - The output destination server name.
- Table
Name string - The output destination table.
- Resource
Group stringName - The output destination resource group.
- Schema
Name string - The output destination schema.
- Subscription
Id string - The output destination subscription id.
- Type string
- The output destination type.
- credential String
- The resource ID of the credential to use to connect to the output destination.
- database
Name String - The output destination database.
- server
Name String - The output destination server name.
- table
Name String - The output destination table.
- resource
Group StringName - The output destination resource group.
- schema
Name String - The output destination schema.
- subscription
Id String - The output destination subscription id.
- type String
- The output destination type.
- credential string
- The resource ID of the credential to use to connect to the output destination.
- database
Name string - The output destination database.
- server
Name string - The output destination server name.
- table
Name string - The output destination table.
- resource
Group stringName - The output destination resource group.
- schema
Name string - The output destination schema.
- subscription
Id string - The output destination subscription id.
- type string
- The output destination type.
- credential str
- The resource ID of the credential to use to connect to the output destination.
- database_
name str - The output destination database.
- server_
name str - The output destination server name.
- table_
name str - The output destination table.
- resource_
group_ strname - The output destination resource group.
- schema_
name str - The output destination schema.
- subscription_
id str - The output destination subscription id.
- type str
- The output destination type.
- credential String
- The resource ID of the credential to use to connect to the output destination.
- database
Name String - The output destination database.
- server
Name String - The output destination server name.
- table
Name String - The output destination table.
- resource
Group StringName - The output destination resource group.
- schema
Name String - The output destination schema.
- subscription
Id String - The output destination subscription id.
- type String
- The output destination type.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi