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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.storagemover.getJobDefinition
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets a Job Definition resource. Azure REST API version: 2023-03-01.
Other available API versions: 2023-07-01-preview, 2023-10-01, 2024-07-01.
Using getJobDefinition
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 getJobDefinition(args: GetJobDefinitionArgs, opts?: InvokeOptions): Promise<GetJobDefinitionResult>
function getJobDefinitionOutput(args: GetJobDefinitionOutputArgs, opts?: InvokeOptions): Output<GetJobDefinitionResult>def get_job_definition(job_definition_name: Optional[str] = None,
                       project_name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       storage_mover_name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetJobDefinitionResult
def get_job_definition_output(job_definition_name: Optional[pulumi.Input[str]] = None,
                       project_name: Optional[pulumi.Input[str]] = None,
                       resource_group_name: Optional[pulumi.Input[str]] = None,
                       storage_mover_name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetJobDefinitionResult]func LookupJobDefinition(ctx *Context, args *LookupJobDefinitionArgs, opts ...InvokeOption) (*LookupJobDefinitionResult, error)
func LookupJobDefinitionOutput(ctx *Context, args *LookupJobDefinitionOutputArgs, opts ...InvokeOption) LookupJobDefinitionResultOutput> Note: This function is named LookupJobDefinition in the Go SDK.
public static class GetJobDefinition 
{
    public static Task<GetJobDefinitionResult> InvokeAsync(GetJobDefinitionArgs args, InvokeOptions? opts = null)
    public static Output<GetJobDefinitionResult> Invoke(GetJobDefinitionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetJobDefinitionResult> getJobDefinition(GetJobDefinitionArgs args, InvokeOptions options)
public static Output<GetJobDefinitionResult> getJobDefinition(GetJobDefinitionArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:storagemover:getJobDefinition
  arguments:
    # arguments dictionaryThe following arguments are supported:
- JobDefinition stringName 
- The name of the Job Definition resource.
- ProjectName string
- The name of the Project resource.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- StorageMover stringName 
- The name of the Storage Mover resource.
- JobDefinition stringName 
- The name of the Job Definition resource.
- ProjectName string
- The name of the Project resource.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- StorageMover stringName 
- The name of the Storage Mover resource.
- jobDefinition StringName 
- The name of the Job Definition resource.
- projectName String
- The name of the Project resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- storageMover StringName 
- The name of the Storage Mover resource.
- jobDefinition stringName 
- The name of the Job Definition resource.
- projectName string
- The name of the Project resource.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- storageMover stringName 
- The name of the Storage Mover resource.
- job_definition_ strname 
- The name of the Job Definition resource.
- project_name str
- The name of the Project resource.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- storage_mover_ strname 
- The name of the Storage Mover resource.
- jobDefinition StringName 
- The name of the Job Definition resource.
- projectName String
- The name of the Project resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- storageMover StringName 
- The name of the Storage Mover resource.
getJobDefinition Result
The following output properties are available:
- AgentResource stringId 
- Fully qualified resource id of the Agent to assign for new Job Runs of this Job Definition.
- CopyMode string
- Strategy to use for copy.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- LatestJob stringRun Name 
- The name of the Job Run in a non-terminal state, if exists.
- LatestJob stringRun Resource Id 
- The fully qualified resource ID of the Job Run in a non-terminal state, if exists.
- LatestJob stringRun Status 
- The current status of the Job Run in a non-terminal state, if exists.
- Name string
- The name of the resource
- ProvisioningState string
- The provisioning state of this resource.
- SourceName string
- The name of the source Endpoint.
- SourceResource stringId 
- Fully qualified resource ID of the source Endpoint.
- SystemData Pulumi.Azure Native. Storage Mover. Outputs. System Data Response 
- Resource system metadata.
- TargetName string
- The name of the target Endpoint.
- TargetResource stringId 
- Fully qualified resource ID of the target Endpoint.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- AgentName string
- Name of the Agent to assign for new Job Runs of this Job Definition.
- Description string
- A description for the Job Definition.
- SourceSubpath string
- The subpath to use when reading from the source Endpoint.
- TargetSubpath string
- The subpath to use when writing to the target Endpoint.
- AgentResource stringId 
- Fully qualified resource id of the Agent to assign for new Job Runs of this Job Definition.
- CopyMode string
- Strategy to use for copy.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- LatestJob stringRun Name 
- The name of the Job Run in a non-terminal state, if exists.
- LatestJob stringRun Resource Id 
- The fully qualified resource ID of the Job Run in a non-terminal state, if exists.
- LatestJob stringRun Status 
- The current status of the Job Run in a non-terminal state, if exists.
- Name string
- The name of the resource
- ProvisioningState string
- The provisioning state of this resource.
- SourceName string
- The name of the source Endpoint.
- SourceResource stringId 
- Fully qualified resource ID of the source Endpoint.
- SystemData SystemData Response 
- Resource system metadata.
- TargetName string
- The name of the target Endpoint.
- TargetResource stringId 
- Fully qualified resource ID of the target Endpoint.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- AgentName string
- Name of the Agent to assign for new Job Runs of this Job Definition.
- Description string
- A description for the Job Definition.
- SourceSubpath string
- The subpath to use when reading from the source Endpoint.
- TargetSubpath string
- The subpath to use when writing to the target Endpoint.
- agentResource StringId 
- Fully qualified resource id of the Agent to assign for new Job Runs of this Job Definition.
- copyMode String
- Strategy to use for copy.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- latestJob StringRun Name 
- The name of the Job Run in a non-terminal state, if exists.
- latestJob StringRun Resource Id 
- The fully qualified resource ID of the Job Run in a non-terminal state, if exists.
- latestJob StringRun Status 
- The current status of the Job Run in a non-terminal state, if exists.
- name String
- The name of the resource
- provisioningState String
- The provisioning state of this resource.
- sourceName String
- The name of the source Endpoint.
- sourceResource StringId 
- Fully qualified resource ID of the source Endpoint.
- systemData SystemData Response 
- Resource system metadata.
- targetName String
- The name of the target Endpoint.
- targetResource StringId 
- Fully qualified resource ID of the target Endpoint.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- agentName String
- Name of the Agent to assign for new Job Runs of this Job Definition.
- description String
- A description for the Job Definition.
- sourceSubpath String
- The subpath to use when reading from the source Endpoint.
- targetSubpath String
- The subpath to use when writing to the target Endpoint.
- agentResource stringId 
- Fully qualified resource id of the Agent to assign for new Job Runs of this Job Definition.
- copyMode string
- Strategy to use for copy.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- latestJob stringRun Name 
- The name of the Job Run in a non-terminal state, if exists.
- latestJob stringRun Resource Id 
- The fully qualified resource ID of the Job Run in a non-terminal state, if exists.
- latestJob stringRun Status 
- The current status of the Job Run in a non-terminal state, if exists.
- name string
- The name of the resource
- provisioningState string
- The provisioning state of this resource.
- sourceName string
- The name of the source Endpoint.
- sourceResource stringId 
- Fully qualified resource ID of the source Endpoint.
- systemData SystemData Response 
- Resource system metadata.
- targetName string
- The name of the target Endpoint.
- targetResource stringId 
- Fully qualified resource ID of the target Endpoint.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- agentName string
- Name of the Agent to assign for new Job Runs of this Job Definition.
- description string
- A description for the Job Definition.
- sourceSubpath string
- The subpath to use when reading from the source Endpoint.
- targetSubpath string
- The subpath to use when writing to the target Endpoint.
- agent_resource_ strid 
- Fully qualified resource id of the Agent to assign for new Job Runs of this Job Definition.
- copy_mode str
- Strategy to use for copy.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- latest_job_ strrun_ name 
- The name of the Job Run in a non-terminal state, if exists.
- latest_job_ strrun_ resource_ id 
- The fully qualified resource ID of the Job Run in a non-terminal state, if exists.
- latest_job_ strrun_ status 
- The current status of the Job Run in a non-terminal state, if exists.
- name str
- The name of the resource
- provisioning_state str
- The provisioning state of this resource.
- source_name str
- The name of the source Endpoint.
- source_resource_ strid 
- Fully qualified resource ID of the source Endpoint.
- system_data SystemData Response 
- Resource system metadata.
- target_name str
- The name of the target Endpoint.
- target_resource_ strid 
- Fully qualified resource ID of the target Endpoint.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- agent_name str
- Name of the Agent to assign for new Job Runs of this Job Definition.
- description str
- A description for the Job Definition.
- source_subpath str
- The subpath to use when reading from the source Endpoint.
- target_subpath str
- The subpath to use when writing to the target Endpoint.
- agentResource StringId 
- Fully qualified resource id of the Agent to assign for new Job Runs of this Job Definition.
- copyMode String
- Strategy to use for copy.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- latestJob StringRun Name 
- The name of the Job Run in a non-terminal state, if exists.
- latestJob StringRun Resource Id 
- The fully qualified resource ID of the Job Run in a non-terminal state, if exists.
- latestJob StringRun Status 
- The current status of the Job Run in a non-terminal state, if exists.
- name String
- The name of the resource
- provisioningState String
- The provisioning state of this resource.
- sourceName String
- The name of the source Endpoint.
- sourceResource StringId 
- Fully qualified resource ID of the source Endpoint.
- systemData Property Map
- Resource system metadata.
- targetName String
- The name of the target Endpoint.
- targetResource StringId 
- Fully qualified resource ID of the target Endpoint.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- agentName String
- Name of the Agent to assign for new Job Runs of this Job Definition.
- description String
- A description for the Job Definition.
- sourceSubpath String
- The subpath to use when reading from the source Endpoint.
- targetSubpath String
- The subpath to use when writing to the target Endpoint.
Supporting Types
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi