azure-native.hybriddata.JobDefinition
Explore with Pulumi AI
Job Definition. Azure REST API version: 2019-06-01. Prior API version in Azure Native 1.x: 2019-06-01.
Example Usage
JobDefinitions_CreateOrUpdatePUT83
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var jobDefinition = new AzureNative.HybridData.JobDefinition("jobDefinition", new()
    {
        DataManagerName = "TestAzureSDKOperations",
        DataServiceInput = new Dictionary<string, object?>
        {
            ["AzureStorageType"] = "Blob",
            ["BackupChoice"] = "UseExistingLatest",
            ["ContainerName"] = "containerfromtest",
            ["DeviceName"] = "8600-SHG0997877L71FC",
            ["FileNameFilter"] = "*",
            ["IsDirectoryMode"] = false,
            ["RootDirectories"] = new[]
            {
                "\\",
            },
            ["VolumeNames"] = new[]
            {
                "TestAutomation",
            },
        },
        DataServiceName = "DataTransformation",
        DataSinkId = "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStores/TestAzureStorage1",
        DataSourceId = "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStores/TestStorSimpleSource1",
        JobDefinitionName = "jobdeffromtestcode1",
        ResourceGroupName = "ResourceGroupForSDKTest",
        RunLocation = AzureNative.HybridData.RunLocation.Westus,
        State = AzureNative.HybridData.State.Enabled,
        UserConfirmation = AzureNative.HybridData.UserConfirmation.Required,
    });
});
package main
import (
	hybriddata "github.com/pulumi/pulumi-azure-native-sdk/hybriddata/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hybriddata.NewJobDefinition(ctx, "jobDefinition", &hybriddata.JobDefinitionArgs{
			DataManagerName: pulumi.String("TestAzureSDKOperations"),
			DataServiceInput: pulumi.Any(map[string]interface{}{
				"AzureStorageType": "Blob",
				"BackupChoice":     "UseExistingLatest",
				"ContainerName":    "containerfromtest",
				"DeviceName":       "8600-SHG0997877L71FC",
				"FileNameFilter":   "*",
				"IsDirectoryMode":  false,
				"RootDirectories": []string{
					"\\",
				},
				"VolumeNames": []string{
					"TestAutomation",
				},
			}),
			DataServiceName:   pulumi.String("DataTransformation"),
			DataSinkId:        pulumi.String("/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStores/TestAzureStorage1"),
			DataSourceId:      pulumi.String("/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStores/TestStorSimpleSource1"),
			JobDefinitionName: pulumi.String("jobdeffromtestcode1"),
			ResourceGroupName: pulumi.String("ResourceGroupForSDKTest"),
			RunLocation:       hybriddata.RunLocationWestus,
			State:             hybriddata.StateEnabled,
			UserConfirmation:  hybriddata.UserConfirmationRequired,
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.hybriddata.JobDefinition;
import com.pulumi.azurenative.hybriddata.JobDefinitionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var jobDefinition = new JobDefinition("jobDefinition", JobDefinitionArgs.builder()
            .dataManagerName("TestAzureSDKOperations")
            .dataServiceInput(Map.ofEntries(
                Map.entry("AzureStorageType", "Blob"),
                Map.entry("BackupChoice", "UseExistingLatest"),
                Map.entry("ContainerName", "containerfromtest"),
                Map.entry("DeviceName", "8600-SHG0997877L71FC"),
                Map.entry("FileNameFilter", "*"),
                Map.entry("IsDirectoryMode", false),
                Map.entry("RootDirectories", "\\"),
                Map.entry("VolumeNames", "TestAutomation")
            ))
            .dataServiceName("DataTransformation")
            .dataSinkId("/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStores/TestAzureStorage1")
            .dataSourceId("/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStores/TestStorSimpleSource1")
            .jobDefinitionName("jobdeffromtestcode1")
            .resourceGroupName("ResourceGroupForSDKTest")
            .runLocation("westus")
            .state("Enabled")
            .userConfirmation("Required")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const jobDefinition = new azure_native.hybriddata.JobDefinition("jobDefinition", {
    dataManagerName: "TestAzureSDKOperations",
    dataServiceInput: {
        AzureStorageType: "Blob",
        BackupChoice: "UseExistingLatest",
        ContainerName: "containerfromtest",
        DeviceName: "8600-SHG0997877L71FC",
        FileNameFilter: "*",
        IsDirectoryMode: false,
        RootDirectories: ["\\"],
        VolumeNames: ["TestAutomation"],
    },
    dataServiceName: "DataTransformation",
    dataSinkId: "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStores/TestAzureStorage1",
    dataSourceId: "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStores/TestStorSimpleSource1",
    jobDefinitionName: "jobdeffromtestcode1",
    resourceGroupName: "ResourceGroupForSDKTest",
    runLocation: azure_native.hybriddata.RunLocation.Westus,
    state: azure_native.hybriddata.State.Enabled,
    userConfirmation: azure_native.hybriddata.UserConfirmation.Required,
});
import pulumi
import pulumi_azure_native as azure_native
job_definition = azure_native.hybriddata.JobDefinition("jobDefinition",
    data_manager_name="TestAzureSDKOperations",
    data_service_input={
        "AzureStorageType": "Blob",
        "BackupChoice": "UseExistingLatest",
        "ContainerName": "containerfromtest",
        "DeviceName": "8600-SHG0997877L71FC",
        "FileNameFilter": "*",
        "IsDirectoryMode": False,
        "RootDirectories": ["\\"],
        "VolumeNames": ["TestAutomation"],
    },
    data_service_name="DataTransformation",
    data_sink_id="/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStores/TestAzureStorage1",
    data_source_id="/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStores/TestStorSimpleSource1",
    job_definition_name="jobdeffromtestcode1",
    resource_group_name="ResourceGroupForSDKTest",
    run_location=azure_native.hybriddata.RunLocation.WESTUS,
    state=azure_native.hybriddata.State.ENABLED,
    user_confirmation=azure_native.hybriddata.UserConfirmation.REQUIRED)
resources:
  jobDefinition:
    type: azure-native:hybriddata:JobDefinition
    properties:
      dataManagerName: TestAzureSDKOperations
      dataServiceInput:
        AzureStorageType: Blob
        BackupChoice: UseExistingLatest
        ContainerName: containerfromtest
        DeviceName: 8600-SHG0997877L71FC
        FileNameFilter: '*'
        IsDirectoryMode: false
        RootDirectories:
          - \
        VolumeNames:
          - TestAutomation
      dataServiceName: DataTransformation
      dataSinkId: /subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStores/TestAzureStorage1
      dataSourceId: /subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStores/TestStorSimpleSource1
      jobDefinitionName: jobdeffromtestcode1
      resourceGroupName: ResourceGroupForSDKTest
      runLocation: westus
      state: Enabled
      userConfirmation: Required
Create JobDefinition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new JobDefinition(name: string, args: JobDefinitionArgs, opts?: CustomResourceOptions);@overload
def JobDefinition(resource_name: str,
                  args: JobDefinitionArgs,
                  opts: Optional[ResourceOptions] = None)
@overload
def JobDefinition(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  resource_group_name: Optional[str] = None,
                  data_manager_name: Optional[str] = None,
                  state: Optional[State] = None,
                  data_service_name: Optional[str] = None,
                  data_sink_id: Optional[str] = None,
                  data_source_id: Optional[str] = None,
                  job_definition_name: Optional[str] = None,
                  last_modified_time: Optional[str] = None,
                  customer_secrets: Optional[Sequence[CustomerSecretArgs]] = None,
                  run_location: Optional[RunLocation] = None,
                  schedules: Optional[Sequence[ScheduleArgs]] = None,
                  data_service_input: Optional[Any] = None,
                  user_confirmation: Optional[UserConfirmation] = None)func NewJobDefinition(ctx *Context, name string, args JobDefinitionArgs, opts ...ResourceOption) (*JobDefinition, error)public JobDefinition(string name, JobDefinitionArgs args, CustomResourceOptions? opts = null)
public JobDefinition(String name, JobDefinitionArgs args)
public JobDefinition(String name, JobDefinitionArgs args, CustomResourceOptions options)
type: azure-native:hybriddata:JobDefinition
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args JobDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args JobDefinitionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args JobDefinitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args JobDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args JobDefinitionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var jobDefinitionResource = new AzureNative.HybridData.JobDefinition("jobDefinitionResource", new()
{
    ResourceGroupName = "string",
    DataManagerName = "string",
    State = AzureNative.HybridData.State.Disabled,
    DataServiceName = "string",
    DataSinkId = "string",
    DataSourceId = "string",
    JobDefinitionName = "string",
    LastModifiedTime = "string",
    CustomerSecrets = new[]
    {
        new AzureNative.HybridData.Inputs.CustomerSecretArgs
        {
            Algorithm = AzureNative.HybridData.SupportedAlgorithm.None,
            KeyIdentifier = "string",
            KeyValue = "string",
        },
    },
    RunLocation = AzureNative.HybridData.RunLocation.None,
    Schedules = new[]
    {
        new AzureNative.HybridData.Inputs.ScheduleArgs
        {
            Name = "string",
            PolicyList = new[]
            {
                "string",
            },
        },
    },
    DataServiceInput = "any",
    UserConfirmation = AzureNative.HybridData.UserConfirmation.NotRequired,
});
example, err := hybriddata.NewJobDefinition(ctx, "jobDefinitionResource", &hybriddata.JobDefinitionArgs{
	ResourceGroupName: pulumi.String("string"),
	DataManagerName:   pulumi.String("string"),
	State:             hybriddata.StateDisabled,
	DataServiceName:   pulumi.String("string"),
	DataSinkId:        pulumi.String("string"),
	DataSourceId:      pulumi.String("string"),
	JobDefinitionName: pulumi.String("string"),
	LastModifiedTime:  pulumi.String("string"),
	CustomerSecrets: hybriddata.CustomerSecretArray{
		&hybriddata.CustomerSecretArgs{
			Algorithm:     hybriddata.SupportedAlgorithmNone,
			KeyIdentifier: pulumi.String("string"),
			KeyValue:      pulumi.String("string"),
		},
	},
	RunLocation: hybriddata.RunLocationNone,
	Schedules: hybriddata.ScheduleArray{
		&hybriddata.ScheduleArgs{
			Name: pulumi.String("string"),
			PolicyList: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	DataServiceInput: pulumi.Any("any"),
	UserConfirmation: hybriddata.UserConfirmationNotRequired,
})
var jobDefinitionResource = new JobDefinition("jobDefinitionResource", JobDefinitionArgs.builder()
    .resourceGroupName("string")
    .dataManagerName("string")
    .state("Disabled")
    .dataServiceName("string")
    .dataSinkId("string")
    .dataSourceId("string")
    .jobDefinitionName("string")
    .lastModifiedTime("string")
    .customerSecrets(CustomerSecretArgs.builder()
        .algorithm("None")
        .keyIdentifier("string")
        .keyValue("string")
        .build())
    .runLocation("none")
    .schedules(ScheduleArgs.builder()
        .name("string")
        .policyList("string")
        .build())
    .dataServiceInput("any")
    .userConfirmation("NotRequired")
    .build());
job_definition_resource = azure_native.hybriddata.JobDefinition("jobDefinitionResource",
    resource_group_name="string",
    data_manager_name="string",
    state=azure_native.hybriddata.State.DISABLED,
    data_service_name="string",
    data_sink_id="string",
    data_source_id="string",
    job_definition_name="string",
    last_modified_time="string",
    customer_secrets=[{
        "algorithm": azure_native.hybriddata.SupportedAlgorithm.NONE,
        "key_identifier": "string",
        "key_value": "string",
    }],
    run_location=azure_native.hybriddata.RunLocation.NONE,
    schedules=[{
        "name": "string",
        "policy_list": ["string"],
    }],
    data_service_input="any",
    user_confirmation=azure_native.hybriddata.UserConfirmation.NOT_REQUIRED)
const jobDefinitionResource = new azure_native.hybriddata.JobDefinition("jobDefinitionResource", {
    resourceGroupName: "string",
    dataManagerName: "string",
    state: azure_native.hybriddata.State.Disabled,
    dataServiceName: "string",
    dataSinkId: "string",
    dataSourceId: "string",
    jobDefinitionName: "string",
    lastModifiedTime: "string",
    customerSecrets: [{
        algorithm: azure_native.hybriddata.SupportedAlgorithm.None,
        keyIdentifier: "string",
        keyValue: "string",
    }],
    runLocation: azure_native.hybriddata.RunLocation.None,
    schedules: [{
        name: "string",
        policyList: ["string"],
    }],
    dataServiceInput: "any",
    userConfirmation: azure_native.hybriddata.UserConfirmation.NotRequired,
});
type: azure-native:hybriddata:JobDefinition
properties:
    customerSecrets:
        - algorithm: None
          keyIdentifier: string
          keyValue: string
    dataManagerName: string
    dataServiceInput: any
    dataServiceName: string
    dataSinkId: string
    dataSourceId: string
    jobDefinitionName: string
    lastModifiedTime: string
    resourceGroupName: string
    runLocation: none
    schedules:
        - name: string
          policyList:
            - string
    state: Disabled
    userConfirmation: NotRequired
JobDefinition Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The JobDefinition resource accepts the following input properties:
- DataManager stringName 
- The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
- DataService stringName 
- The data service type of the job definition.
- DataSink stringId 
- Data Sink Id associated to the job definition.
- DataSource stringId 
- Data Source Id associated to the job definition.
- ResourceGroup stringName 
- The Resource Group Name
- State
Pulumi.Azure Native. Hybrid Data. State 
- State of the job definition.
- CustomerSecrets List<Pulumi.Azure Native. Hybrid Data. Inputs. Customer Secret> 
- List of customer secrets containing a key identifier and key value. The key identifier is a way for the specific data source to understand the key. Value contains customer secret encrypted by the encryptionKeys.
- DataService objectInput 
- A generic json used differently by each data service type.
- JobDefinition stringName 
- The job definition name to be created or updated.
- LastModified stringTime 
- Last modified time of the job definition.
- RunLocation Pulumi.Azure Native. Hybrid Data. Run Location 
- This is the preferred geo location for the job to run.
- Schedules
List<Pulumi.Azure Native. Hybrid Data. Inputs. Schedule> 
- Schedule for running the job definition
- UserConfirmation Pulumi.Azure Native. Hybrid Data. User Confirmation 
- Enum to detect if user confirmation is required. If not passed will default to NotRequired.
- DataManager stringName 
- The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
- DataService stringName 
- The data service type of the job definition.
- DataSink stringId 
- Data Sink Id associated to the job definition.
- DataSource stringId 
- Data Source Id associated to the job definition.
- ResourceGroup stringName 
- The Resource Group Name
- State State
- State of the job definition.
- CustomerSecrets []CustomerSecret Args 
- List of customer secrets containing a key identifier and key value. The key identifier is a way for the specific data source to understand the key. Value contains customer secret encrypted by the encryptionKeys.
- DataService interface{}Input 
- A generic json used differently by each data service type.
- JobDefinition stringName 
- The job definition name to be created or updated.
- LastModified stringTime 
- Last modified time of the job definition.
- RunLocation RunLocation 
- This is the preferred geo location for the job to run.
- Schedules
[]ScheduleArgs 
- Schedule for running the job definition
- UserConfirmation UserConfirmation 
- Enum to detect if user confirmation is required. If not passed will default to NotRequired.
- dataManager StringName 
- The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
- dataService StringName 
- The data service type of the job definition.
- dataSink StringId 
- Data Sink Id associated to the job definition.
- dataSource StringId 
- Data Source Id associated to the job definition.
- resourceGroup StringName 
- The Resource Group Name
- state State
- State of the job definition.
- customerSecrets List<CustomerSecret> 
- List of customer secrets containing a key identifier and key value. The key identifier is a way for the specific data source to understand the key. Value contains customer secret encrypted by the encryptionKeys.
- dataService ObjectInput 
- A generic json used differently by each data service type.
- jobDefinition StringName 
- The job definition name to be created or updated.
- lastModified StringTime 
- Last modified time of the job definition.
- runLocation RunLocation 
- This is the preferred geo location for the job to run.
- schedules List<Schedule>
- Schedule for running the job definition
- userConfirmation UserConfirmation 
- Enum to detect if user confirmation is required. If not passed will default to NotRequired.
- dataManager stringName 
- The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
- dataService stringName 
- The data service type of the job definition.
- dataSink stringId 
- Data Sink Id associated to the job definition.
- dataSource stringId 
- Data Source Id associated to the job definition.
- resourceGroup stringName 
- The Resource Group Name
- state State
- State of the job definition.
- customerSecrets CustomerSecret[] 
- List of customer secrets containing a key identifier and key value. The key identifier is a way for the specific data source to understand the key. Value contains customer secret encrypted by the encryptionKeys.
- dataService anyInput 
- A generic json used differently by each data service type.
- jobDefinition stringName 
- The job definition name to be created or updated.
- lastModified stringTime 
- Last modified time of the job definition.
- runLocation RunLocation 
- This is the preferred geo location for the job to run.
- schedules Schedule[]
- Schedule for running the job definition
- userConfirmation UserConfirmation 
- Enum to detect if user confirmation is required. If not passed will default to NotRequired.
- data_manager_ strname 
- The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
- data_service_ strname 
- The data service type of the job definition.
- data_sink_ strid 
- Data Sink Id associated to the job definition.
- data_source_ strid 
- Data Source Id associated to the job definition.
- resource_group_ strname 
- The Resource Group Name
- state State
- State of the job definition.
- customer_secrets Sequence[CustomerSecret Args] 
- List of customer secrets containing a key identifier and key value. The key identifier is a way for the specific data source to understand the key. Value contains customer secret encrypted by the encryptionKeys.
- data_service_ Anyinput 
- A generic json used differently by each data service type.
- job_definition_ strname 
- The job definition name to be created or updated.
- last_modified_ strtime 
- Last modified time of the job definition.
- run_location RunLocation 
- This is the preferred geo location for the job to run.
- schedules
Sequence[ScheduleArgs] 
- Schedule for running the job definition
- user_confirmation UserConfirmation 
- Enum to detect if user confirmation is required. If not passed will default to NotRequired.
- dataManager StringName 
- The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
- dataService StringName 
- The data service type of the job definition.
- dataSink StringId 
- Data Sink Id associated to the job definition.
- dataSource StringId 
- Data Source Id associated to the job definition.
- resourceGroup StringName 
- The Resource Group Name
- state "Disabled" | "Enabled" | "Supported"
- State of the job definition.
- customerSecrets List<Property Map>
- List of customer secrets containing a key identifier and key value. The key identifier is a way for the specific data source to understand the key. Value contains customer secret encrypted by the encryptionKeys.
- dataService AnyInput 
- A generic json used differently by each data service type.
- jobDefinition StringName 
- The job definition name to be created or updated.
- lastModified StringTime 
- Last modified time of the job definition.
- runLocation "none" | "australiaeast" | "australiasoutheast" | "brazilsouth" | "canadacentral" | "canadaeast" | "centralindia" | "centralus" | "eastasia" | "eastus" | "eastus2" | "japaneast" | "japanwest" | "koreacentral" | "koreasouth" | "southeastasia" | "southcentralus" | "southindia" | "northcentralus" | "northeurope" | "uksouth" | "ukwest" | "westcentralus" | "westeurope" | "westindia" | "westus" | "westus2"
- This is the preferred geo location for the job to run.
- schedules List<Property Map>
- Schedule for running the job definition
- userConfirmation "NotRequired" | "Required" 
- Enum to detect if user confirmation is required. If not passed will default to NotRequired.
Outputs
All input properties are implicitly available as output properties. Additionally, the JobDefinition resource produces the following output properties:
Supporting Types
CustomerSecret, CustomerSecretArgs    
- Algorithm
Pulumi.Azure Native. Hybrid Data. Supported Algorithm 
- The encryption algorithm used to encrypt data.
- KeyIdentifier string
- The identifier to the data service input object which this secret corresponds to.
- KeyValue string
- It contains the encrypted customer secret.
- Algorithm
SupportedAlgorithm 
- The encryption algorithm used to encrypt data.
- KeyIdentifier string
- The identifier to the data service input object which this secret corresponds to.
- KeyValue string
- It contains the encrypted customer secret.
- algorithm
SupportedAlgorithm 
- The encryption algorithm used to encrypt data.
- keyIdentifier String
- The identifier to the data service input object which this secret corresponds to.
- keyValue String
- It contains the encrypted customer secret.
- algorithm
SupportedAlgorithm 
- The encryption algorithm used to encrypt data.
- keyIdentifier string
- The identifier to the data service input object which this secret corresponds to.
- keyValue string
- It contains the encrypted customer secret.
- algorithm
SupportedAlgorithm 
- The encryption algorithm used to encrypt data.
- key_identifier str
- The identifier to the data service input object which this secret corresponds to.
- key_value str
- It contains the encrypted customer secret.
- algorithm
"None" | "RSA1_5" | "RSA_OAEP" | "PlainText" 
- The encryption algorithm used to encrypt data.
- keyIdentifier String
- The identifier to the data service input object which this secret corresponds to.
- keyValue String
- It contains the encrypted customer secret.
CustomerSecretResponse, CustomerSecretResponseArgs      
- Algorithm string
- The encryption algorithm used to encrypt data.
- KeyIdentifier string
- The identifier to the data service input object which this secret corresponds to.
- KeyValue string
- It contains the encrypted customer secret.
- Algorithm string
- The encryption algorithm used to encrypt data.
- KeyIdentifier string
- The identifier to the data service input object which this secret corresponds to.
- KeyValue string
- It contains the encrypted customer secret.
- algorithm String
- The encryption algorithm used to encrypt data.
- keyIdentifier String
- The identifier to the data service input object which this secret corresponds to.
- keyValue String
- It contains the encrypted customer secret.
- algorithm string
- The encryption algorithm used to encrypt data.
- keyIdentifier string
- The identifier to the data service input object which this secret corresponds to.
- keyValue string
- It contains the encrypted customer secret.
- algorithm str
- The encryption algorithm used to encrypt data.
- key_identifier str
- The identifier to the data service input object which this secret corresponds to.
- key_value str
- It contains the encrypted customer secret.
- algorithm String
- The encryption algorithm used to encrypt data.
- keyIdentifier String
- The identifier to the data service input object which this secret corresponds to.
- keyValue String
- It contains the encrypted customer secret.
RunLocation, RunLocationArgs    
- None
- none
- Australiaeast
- australiaeast
- Australiasoutheast
- australiasoutheast
- Brazilsouth
- brazilsouth
- Canadacentral
- canadacentral
- Canadaeast
- canadaeast
- Centralindia
- centralindia
- Centralus
- centralus
- Eastasia
- eastasia
- Eastus
- eastus
- Eastus2
- eastus2
- Japaneast
- japaneast
- Japanwest
- japanwest
- Koreacentral
- koreacentral
- Koreasouth
- koreasouth
- Southeastasia
- southeastasia
- Southcentralus
- southcentralus
- Southindia
- southindia
- Northcentralus
- northcentralus
- Northeurope
- northeurope
- Uksouth
- uksouth
- Ukwest
- ukwest
- Westcentralus
- westcentralus
- Westeurope
- westeurope
- Westindia
- westindia
- Westus
- westus
- Westus2
- westus2
- RunLocation None 
- none
- RunLocation Australiaeast 
- australiaeast
- RunLocation Australiasoutheast 
- australiasoutheast
- RunLocation Brazilsouth 
- brazilsouth
- RunLocation Canadacentral 
- canadacentral
- RunLocation Canadaeast 
- canadaeast
- RunLocation Centralindia 
- centralindia
- RunLocation Centralus 
- centralus
- RunLocation Eastasia 
- eastasia
- RunLocation Eastus 
- eastus
- RunLocation Eastus2 
- eastus2
- RunLocation Japaneast 
- japaneast
- RunLocation Japanwest 
- japanwest
- RunLocation Koreacentral 
- koreacentral
- RunLocation Koreasouth 
- koreasouth
- RunLocation Southeastasia 
- southeastasia
- RunLocation Southcentralus 
- southcentralus
- RunLocation Southindia 
- southindia
- RunLocation Northcentralus 
- northcentralus
- RunLocation Northeurope 
- northeurope
- RunLocation Uksouth 
- uksouth
- RunLocation Ukwest 
- ukwest
- RunLocation Westcentralus 
- westcentralus
- RunLocation Westeurope 
- westeurope
- RunLocation Westindia 
- westindia
- RunLocation Westus 
- westus
- RunLocation Westus2 
- westus2
- None
- none
- Australiaeast
- australiaeast
- Australiasoutheast
- australiasoutheast
- Brazilsouth
- brazilsouth
- Canadacentral
- canadacentral
- Canadaeast
- canadaeast
- Centralindia
- centralindia
- Centralus
- centralus
- Eastasia
- eastasia
- Eastus
- eastus
- Eastus2
- eastus2
- Japaneast
- japaneast
- Japanwest
- japanwest
- Koreacentral
- koreacentral
- Koreasouth
- koreasouth
- Southeastasia
- southeastasia
- Southcentralus
- southcentralus
- Southindia
- southindia
- Northcentralus
- northcentralus
- Northeurope
- northeurope
- Uksouth
- uksouth
- Ukwest
- ukwest
- Westcentralus
- westcentralus
- Westeurope
- westeurope
- Westindia
- westindia
- Westus
- westus
- Westus2
- westus2
- None
- none
- Australiaeast
- australiaeast
- Australiasoutheast
- australiasoutheast
- Brazilsouth
- brazilsouth
- Canadacentral
- canadacentral
- Canadaeast
- canadaeast
- Centralindia
- centralindia
- Centralus
- centralus
- Eastasia
- eastasia
- Eastus
- eastus
- Eastus2
- eastus2
- Japaneast
- japaneast
- Japanwest
- japanwest
- Koreacentral
- koreacentral
- Koreasouth
- koreasouth
- Southeastasia
- southeastasia
- Southcentralus
- southcentralus
- Southindia
- southindia
- Northcentralus
- northcentralus
- Northeurope
- northeurope
- Uksouth
- uksouth
- Ukwest
- ukwest
- Westcentralus
- westcentralus
- Westeurope
- westeurope
- Westindia
- westindia
- Westus
- westus
- Westus2
- westus2
- NONE
- none
- AUSTRALIAEAST
- australiaeast
- AUSTRALIASOUTHEAST
- australiasoutheast
- BRAZILSOUTH
- brazilsouth
- CANADACENTRAL
- canadacentral
- CANADAEAST
- canadaeast
- CENTRALINDIA
- centralindia
- CENTRALUS
- centralus
- EASTASIA
- eastasia
- EASTUS
- eastus
- EASTUS2
- eastus2
- JAPANEAST
- japaneast
- JAPANWEST
- japanwest
- KOREACENTRAL
- koreacentral
- KOREASOUTH
- koreasouth
- SOUTHEASTASIA
- southeastasia
- SOUTHCENTRALUS
- southcentralus
- SOUTHINDIA
- southindia
- NORTHCENTRALUS
- northcentralus
- NORTHEUROPE
- northeurope
- UKSOUTH
- uksouth
- UKWEST
- ukwest
- WESTCENTRALUS
- westcentralus
- WESTEUROPE
- westeurope
- WESTINDIA
- westindia
- WESTUS
- westus
- WESTUS2
- westus2
- "none"
- none
- "australiaeast"
- australiaeast
- "australiasoutheast"
- australiasoutheast
- "brazilsouth"
- brazilsouth
- "canadacentral"
- canadacentral
- "canadaeast"
- canadaeast
- "centralindia"
- centralindia
- "centralus"
- centralus
- "eastasia"
- eastasia
- "eastus"
- eastus
- "eastus2"
- eastus2
- "japaneast"
- japaneast
- "japanwest"
- japanwest
- "koreacentral"
- koreacentral
- "koreasouth"
- koreasouth
- "southeastasia"
- southeastasia
- "southcentralus"
- southcentralus
- "southindia"
- southindia
- "northcentralus"
- northcentralus
- "northeurope"
- northeurope
- "uksouth"
- uksouth
- "ukwest"
- ukwest
- "westcentralus"
- westcentralus
- "westeurope"
- westeurope
- "westindia"
- westindia
- "westus"
- westus
- "westus2"
- westus2
Schedule, ScheduleArgs  
- Name string
- Name of the schedule.
- PolicyList List<string>
- A list of repetition intervals in ISO 8601 format.
- Name string
- Name of the schedule.
- PolicyList []string
- A list of repetition intervals in ISO 8601 format.
- name String
- Name of the schedule.
- policyList List<String>
- A list of repetition intervals in ISO 8601 format.
- name string
- Name of the schedule.
- policyList string[]
- A list of repetition intervals in ISO 8601 format.
- name str
- Name of the schedule.
- policy_list Sequence[str]
- A list of repetition intervals in ISO 8601 format.
- name String
- Name of the schedule.
- policyList List<String>
- A list of repetition intervals in ISO 8601 format.
ScheduleResponse, ScheduleResponseArgs    
- Name string
- Name of the schedule.
- PolicyList List<string>
- A list of repetition intervals in ISO 8601 format.
- Name string
- Name of the schedule.
- PolicyList []string
- A list of repetition intervals in ISO 8601 format.
- name String
- Name of the schedule.
- policyList List<String>
- A list of repetition intervals in ISO 8601 format.
- name string
- Name of the schedule.
- policyList string[]
- A list of repetition intervals in ISO 8601 format.
- name str
- Name of the schedule.
- policy_list Sequence[str]
- A list of repetition intervals in ISO 8601 format.
- name String
- Name of the schedule.
- policyList List<String>
- A list of repetition intervals in ISO 8601 format.
State, StateArgs  
- Disabled
- Disabled
- Enabled
- Enabled
- Supported
- Supported
- StateDisabled 
- Disabled
- StateEnabled 
- Enabled
- StateSupported 
- Supported
- Disabled
- Disabled
- Enabled
- Enabled
- Supported
- Supported
- Disabled
- Disabled
- Enabled
- Enabled
- Supported
- Supported
- DISABLED
- Disabled
- ENABLED
- Enabled
- SUPPORTED
- Supported
- "Disabled"
- Disabled
- "Enabled"
- Enabled
- "Supported"
- Supported
SupportedAlgorithm, SupportedAlgorithmArgs    
- None
- None
- RSA1_5
- RSA1_5
- RSA_OAEP
- RSA_OAEP
- PlainText 
- PlainText
- SupportedAlgorithm None 
- None
- SupportedAlgorithm_RSA1_5 
- RSA1_5
- SupportedAlgorithm_RSA_OAEP 
- RSA_OAEP
- SupportedAlgorithm Plain Text 
- PlainText
- None
- None
- RSA1_5
- RSA1_5
- RSA_OAEP
- RSA_OAEP
- PlainText 
- PlainText
- None
- None
- RSA1_5
- RSA1_5
- RSA_OAEP
- RSA_OAEP
- PlainText 
- PlainText
- NONE
- None
- RSA1_5
- RSA1_5
- RS_A_OAEP
- RSA_OAEP
- PLAIN_TEXT
- PlainText
- "None"
- None
- "RSA1_5"
- RSA1_5
- "RSA_OAEP"
- RSA_OAEP
- "PlainText" 
- PlainText
UserConfirmation, UserConfirmationArgs    
- NotRequired 
- NotRequired
- Required
- Required
- UserConfirmation Not Required 
- NotRequired
- UserConfirmation Required 
- Required
- NotRequired 
- NotRequired
- Required
- Required
- NotRequired 
- NotRequired
- Required
- Required
- NOT_REQUIRED
- NotRequired
- REQUIRED
- Required
- "NotRequired" 
- NotRequired
- "Required"
- Required
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:hybriddata:JobDefinition jobdeffromtestcode1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}/dataServices/{dataServiceName}/jobDefinitions/{jobDefinitionName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0