1. Packages
  2. Azure Native
  3. API Docs
  4. hybriddata
  5. JobDefinition
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.hybriddata.JobDefinition

Explore with Pulumi AI

azure-native logo
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    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 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)
    
    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,
    });
    
    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,
            "keyIdentifier": "string",
            "keyValue": "string",
        }],
        run_location=azure_native.hybriddata.RunLocation.NONE,
        schedules=[{
            "name": "string",
            "policyList": ["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

    The JobDefinition resource accepts the following input properties:

    DataManagerName string
    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
    DataServiceName string
    The data service type of the job definition.
    DataSinkId string
    Data Sink Id associated to the job definition.
    DataSourceId string
    Data Source Id associated to the job definition.
    ResourceGroupName string
    The Resource Group Name
    State Pulumi.AzureNative.HybridData.State
    State of the job definition.
    CustomerSecrets List<Pulumi.AzureNative.HybridData.Inputs.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.
    DataServiceInput object
    A generic json used differently by each data service type.
    JobDefinitionName string
    The job definition name to be created or updated.
    LastModifiedTime string
    Last modified time of the job definition.
    RunLocation Pulumi.AzureNative.HybridData.RunLocation
    This is the preferred geo location for the job to run.
    Schedules List<Pulumi.AzureNative.HybridData.Inputs.Schedule>
    Schedule for running the job definition
    UserConfirmation Pulumi.AzureNative.HybridData.UserConfirmation
    Enum to detect if user confirmation is required. If not passed will default to NotRequired.
    DataManagerName string
    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
    DataServiceName string
    The data service type of the job definition.
    DataSinkId string
    Data Sink Id associated to the job definition.
    DataSourceId string
    Data Source Id associated to the job definition.
    ResourceGroupName string
    The Resource Group Name
    State State
    State of the job definition.
    CustomerSecrets []CustomerSecretArgs
    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.
    DataServiceInput interface{}
    A generic json used differently by each data service type.
    JobDefinitionName string
    The job definition name to be created or updated.
    LastModifiedTime string
    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.
    dataManagerName String
    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
    dataServiceName String
    The data service type of the job definition.
    dataSinkId String
    Data Sink Id associated to the job definition.
    dataSourceId String
    Data Source Id associated to the job definition.
    resourceGroupName String
    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.
    dataServiceInput Object
    A generic json used differently by each data service type.
    jobDefinitionName String
    The job definition name to be created or updated.
    lastModifiedTime String
    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.
    dataManagerName string
    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
    dataServiceName string
    The data service type of the job definition.
    dataSinkId string
    Data Sink Id associated to the job definition.
    dataSourceId string
    Data Source Id associated to the job definition.
    resourceGroupName string
    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.
    dataServiceInput any
    A generic json used differently by each data service type.
    jobDefinitionName string
    The job definition name to be created or updated.
    lastModifiedTime string
    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_name str
    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_name str
    The data service type of the job definition.
    data_sink_id str
    Data Sink Id associated to the job definition.
    data_source_id str
    Data Source Id associated to the job definition.
    resource_group_name str
    The Resource Group Name
    state State
    State of the job definition.
    customer_secrets Sequence[CustomerSecretArgs]
    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_input Any
    A generic json used differently by each data service type.
    job_definition_name str
    The job definition name to be created or updated.
    last_modified_time str
    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.
    dataManagerName String
    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
    dataServiceName String
    The data service type of the job definition.
    dataSinkId String
    Data Sink Id associated to the job definition.
    dataSourceId String
    Data Source Id associated to the job definition.
    resourceGroupName String
    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.
    dataServiceInput Any
    A generic json used differently by each data service type.
    jobDefinitionName String
    The job definition name to be created or updated.
    lastModifiedTime String
    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:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the object.
    Type string
    Type of the object.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the object.
    Type string
    Type of the object.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the object.
    type String
    Type of the object.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Name of the object.
    type string
    Type of the object.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Name of the object.
    type str
    Type of the object.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the object.
    type String
    Type of the object.

    Supporting Types

    CustomerSecret, CustomerSecretArgs

    Algorithm Pulumi.AzureNative.HybridData.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.
    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
    RunLocationNone
    none
    RunLocationAustraliaeast
    australiaeast
    RunLocationAustraliasoutheast
    australiasoutheast
    RunLocationBrazilsouth
    brazilsouth
    RunLocationCanadacentral
    canadacentral
    RunLocationCanadaeast
    canadaeast
    RunLocationCentralindia
    centralindia
    RunLocationCentralus
    centralus
    RunLocationEastasia
    eastasia
    RunLocationEastus
    eastus
    RunLocationEastus2
    eastus2
    RunLocationJapaneast
    japaneast
    RunLocationJapanwest
    japanwest
    RunLocationKoreacentral
    koreacentral
    RunLocationKoreasouth
    koreasouth
    RunLocationSoutheastasia
    southeastasia
    RunLocationSouthcentralus
    southcentralus
    RunLocationSouthindia
    southindia
    RunLocationNorthcentralus
    northcentralus
    RunLocationNortheurope
    northeurope
    RunLocationUksouth
    uksouth
    RunLocationUkwest
    ukwest
    RunLocationWestcentralus
    westcentralus
    RunLocationWesteurope
    westeurope
    RunLocationWestindia
    westindia
    RunLocationWestus
    westus
    RunLocationWestus2
    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
    SupportedAlgorithmNone
    None
    SupportedAlgorithm_RSA1_5
    RSA1_5
    SupportedAlgorithm_RSA_OAEP
    RSA_OAEP
    SupportedAlgorithmPlainText
    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
    UserConfirmationNotRequired
    NotRequired
    UserConfirmationRequired
    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
    azure-native logo
    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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi