Job

class Job : KotlinCustomResource

Job Resource. Uses Azure REST API version 2024-03-01-preview. In version 2.x of the Azure Native provider, it used API version 2022-12-01. Other available API versions: 2022-12-01, 2023-03-01, 2023-12-01, 2024-02-01-preview, 2025-02-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native databox [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

JobsCreate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var job = new AzureNative.DataBox.Job("job", new()
{
Details = new AzureNative.DataBox.Inputs.DataBoxJobDetailsArgs
{
ContactDetails = new AzureNative.DataBox.Inputs.ContactDetailsArgs
{
ContactName = "XXXX XXXX",
EmailList = new[]
{
"xxxx@xxxx.xxx",
},
Phone = "0000000000",
PhoneExtension = "",
},
DataImportDetails = new[]
{
new AzureNative.DataBox.Inputs.DataImportDetailsArgs
{
AccountDetails = new AzureNative.DataBox.Inputs.StorageAccountDetailsArgs
{
DataAccountType = "StorageAccount",
StorageAccountId = "/subscriptions/YourSubscriptionId/resourcegroups/YourResourceGroupName/providers/Microsoft.Storage/storageAccounts/YourStorageAccountName",
},
},
},
JobDetailsType = "DataBox",
ShippingAddress = new AzureNative.DataBox.Inputs.ShippingAddressArgs
{
AddressType = AzureNative.DataBox.AddressType.Commercial,
City = "XXXX XXXX",
CompanyName = "XXXX XXXX",
Country = "XX",
PostalCode = "00000",
StateOrProvince = "XX",
StreetAddress1 = "XXXX XXXX",
StreetAddress2 = "XXXX XXXX",
},
},
JobName = "TestJobName1",
Location = "westus",
ResourceGroupName = "YourResourceGroupName",
Sku = new AzureNative.DataBox.Inputs.SkuArgs
{
Name = AzureNative.DataBox.SkuName.DataBox,
},
TransferType = AzureNative.DataBox.TransferType.ImportToAzure,
});
});
package main
import (
databox "github.com/pulumi/pulumi-azure-native-sdk/databox/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databox.NewJob(ctx, "job", &databox.JobArgs{
Details: &databox.DataBoxJobDetailsArgs{
ContactDetails: &databox.ContactDetailsArgs{
ContactName: pulumi.String("XXXX XXXX"),
EmailList: pulumi.StringArray{
pulumi.String("xxxx@xxxx.xxx"),
},
Phone: pulumi.String("0000000000"),
PhoneExtension: pulumi.String(""),
},
DataImportDetails: databox.DataImportDetailsArray{
&databox.DataImportDetailsArgs{
AccountDetails: databox.StorageAccountDetails{
DataAccountType: "StorageAccount",
StorageAccountId: "/subscriptions/YourSubscriptionId/resourcegroups/YourResourceGroupName/providers/Microsoft.Storage/storageAccounts/YourStorageAccountName",
},
},
},
JobDetailsType: pulumi.String("DataBox"),
ShippingAddress: &databox.ShippingAddressArgs{
AddressType: pulumi.String(databox.AddressTypeCommercial),
City: pulumi.String("XXXX XXXX"),
CompanyName: pulumi.String("XXXX XXXX"),
Country: pulumi.String("XX"),
PostalCode: pulumi.String("00000"),
StateOrProvince: pulumi.String("XX"),
StreetAddress1: pulumi.String("XXXX XXXX"),
StreetAddress2: pulumi.String("XXXX XXXX"),
},
},
JobName: pulumi.String("TestJobName1"),
Location: pulumi.String("westus"),
ResourceGroupName: pulumi.String("YourResourceGroupName"),
Sku: &databox.SkuArgs{
Name: pulumi.String(databox.SkuNameDataBox),
},
TransferType: pulumi.String(databox.TransferTypeImportToAzure),
})
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.databox.Job;
import com.pulumi.azurenative.databox.JobArgs;
import com.pulumi.azurenative.databox.inputs.SkuArgs;
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 job = new Job("job", JobArgs.builder()
.details(DataBoxJobDetailsArgs.builder()
.contactDetails(ContactDetailsArgs.builder()
.contactName("XXXX XXXX")
.emailList("xxxx@xxxx.xxx")
.phone("0000000000")
.phoneExtension("")
.build())
.dataImportDetails(DataImportDetailsArgs.builder()
.accountDetails(StorageAccountDetailsArgs.builder()
.dataAccountType("StorageAccount")
.storageAccountId("/subscriptions/YourSubscriptionId/resourcegroups/YourResourceGroupName/providers/Microsoft.Storage/storageAccounts/YourStorageAccountName")
.build())
.build())
.jobDetailsType("DataBox")
.shippingAddress(ShippingAddressArgs.builder()
.addressType("Commercial")
.city("XXXX XXXX")
.companyName("XXXX XXXX")
.country("XX")
.postalCode("00000")
.stateOrProvince("XX")
.streetAddress1("XXXX XXXX")
.streetAddress2("XXXX XXXX")
.build())
.build())
.jobName("TestJobName1")
.location("westus")
.resourceGroupName("YourResourceGroupName")
.sku(SkuArgs.builder()
.name("DataBox")
.build())
.transferType("ImportToAzure")
.build());
}
}

JobsCreateDevicePassword

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var job = new AzureNative.DataBox.Job("job", new()
{
Details = new AzureNative.DataBox.Inputs.DataBoxJobDetailsArgs
{
ContactDetails = new AzureNative.DataBox.Inputs.ContactDetailsArgs
{
ContactName = "XXXX XXXX",
EmailList = new[]
{
"xxxx@xxxx.xxx",
},
Phone = "0000000000",
PhoneExtension = "",
},
DataImportDetails = new[]
{
new AzureNative.DataBox.Inputs.DataImportDetailsArgs
{
AccountDetails = new AzureNative.DataBox.Inputs.StorageAccountDetailsArgs
{
DataAccountType = "StorageAccount",
SharePassword = "<sharePassword>",
StorageAccountId = "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Storage/storageAccounts/YourStorageAccountName",
},
},
},
DevicePassword = "<devicePassword>",
JobDetailsType = "DataBox",
ShippingAddress = new AzureNative.DataBox.Inputs.ShippingAddressArgs
{
AddressType = AzureNative.DataBox.AddressType.Commercial,
City = "XXXX XXXX",
CompanyName = "XXXX XXXX",
Country = "XX",
PostalCode = "00000",
StateOrProvince = "XX",
StreetAddress1 = "XXXX XXXX",
StreetAddress2 = "XXXX XXXX",
},
},
JobName = "TestJobName1",
Location = "westus",
ResourceGroupName = "YourResourceGroupName",
Sku = new AzureNative.DataBox.Inputs.SkuArgs
{
Name = AzureNative.DataBox.SkuName.DataBox,
},
TransferType = AzureNative.DataBox.TransferType.ImportToAzure,
});
});
package main
import (
databox "github.com/pulumi/pulumi-azure-native-sdk/databox/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databox.NewJob(ctx, "job", &databox.JobArgs{
Details: &databox.DataBoxJobDetailsArgs{
ContactDetails: &databox.ContactDetailsArgs{
ContactName: pulumi.String("XXXX XXXX"),
EmailList: pulumi.StringArray{
pulumi.String("xxxx@xxxx.xxx"),
},
Phone: pulumi.String("0000000000"),
PhoneExtension: pulumi.String(""),
},
DataImportDetails: databox.DataImportDetailsArray{
&databox.DataImportDetailsArgs{
AccountDetails: databox.StorageAccountDetails{
DataAccountType: "StorageAccount",
SharePassword: "<sharePassword>",
StorageAccountId: "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Storage/storageAccounts/YourStorageAccountName",
},
},
},
DevicePassword: pulumi.String("<devicePassword>"),
JobDetailsType: pulumi.String("DataBox"),
ShippingAddress: &databox.ShippingAddressArgs{
AddressType: pulumi.String(databox.AddressTypeCommercial),
City: pulumi.String("XXXX XXXX"),
CompanyName: pulumi.String("XXXX XXXX"),
Country: pulumi.String("XX"),
PostalCode: pulumi.String("00000"),
StateOrProvince: pulumi.String("XX"),
StreetAddress1: pulumi.String("XXXX XXXX"),
StreetAddress2: pulumi.String("XXXX XXXX"),
},
},
JobName: pulumi.String("TestJobName1"),
Location: pulumi.String("westus"),
ResourceGroupName: pulumi.String("YourResourceGroupName"),
Sku: &databox.SkuArgs{
Name: pulumi.String(databox.SkuNameDataBox),
},
TransferType: pulumi.String(databox.TransferTypeImportToAzure),
})
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.databox.Job;
import com.pulumi.azurenative.databox.JobArgs;
import com.pulumi.azurenative.databox.inputs.SkuArgs;
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 job = new Job("job", JobArgs.builder()
.details(DataBoxJobDetailsArgs.builder()
.contactDetails(ContactDetailsArgs.builder()
.contactName("XXXX XXXX")
.emailList("xxxx@xxxx.xxx")
.phone("0000000000")
.phoneExtension("")
.build())
.dataImportDetails(DataImportDetailsArgs.builder()
.accountDetails(StorageAccountDetailsArgs.builder()
.dataAccountType("StorageAccount")
.sharePassword("<sharePassword>")
.storageAccountId("/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Storage/storageAccounts/YourStorageAccountName")
.build())
.build())
.devicePassword("<devicePassword>")
.jobDetailsType("DataBox")
.shippingAddress(ShippingAddressArgs.builder()
.addressType("Commercial")
.city("XXXX XXXX")
.companyName("XXXX XXXX")
.country("XX")
.postalCode("00000")
.stateOrProvince("XX")
.streetAddress1("XXXX XXXX")
.streetAddress2("XXXX XXXX")
.build())
.build())
.jobName("TestJobName1")
.location("westus")
.resourceGroupName("YourResourceGroupName")
.sku(SkuArgs.builder()
.name("DataBox")
.build())
.transferType("ImportToAzure")
.build());
}
}

JobsCreateDoubleEncryption

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var job = new AzureNative.DataBox.Job("job", new()
{
Details = new AzureNative.DataBox.Inputs.DataBoxJobDetailsArgs
{
ContactDetails = new AzureNative.DataBox.Inputs.ContactDetailsArgs
{
ContactName = "XXXX XXXX",
EmailList = new[]
{
"xxxx@xxxx.xxx",
},
Phone = "0000000000",
PhoneExtension = "",
},
DataImportDetails = new[]
{
new AzureNative.DataBox.Inputs.DataImportDetailsArgs
{
AccountDetails = new AzureNative.DataBox.Inputs.StorageAccountDetailsArgs
{
DataAccountType = "StorageAccount",
StorageAccountId = "/subscriptions/YourSubscriptionId/resourcegroups/YourResourceGroupName/providers/Microsoft.Storage/storageAccounts/YourStorageAccountName",
},
},
},
JobDetailsType = "DataBox",
Preferences = new AzureNative.DataBox.Inputs.PreferencesArgs
{
EncryptionPreferences = new AzureNative.DataBox.Inputs.EncryptionPreferencesArgs
{
DoubleEncryption = AzureNative.DataBox.DoubleEncryption.Enabled,
},
},
ShippingAddress = new AzureNative.DataBox.Inputs.ShippingAddressArgs
{
AddressType = AzureNative.DataBox.AddressType.Commercial,
City = "XXXX XXXX",
CompanyName = "XXXX XXXX",
Country = "XX",
PostalCode = "00000",
StateOrProvince = "XX",
StreetAddress1 = "XXXX XXXX",
StreetAddress2 = "XXXX XXXX",
},
},
JobName = "TestJobName1",
Location = "westus",
ResourceGroupName = "YourResourceGroupName",
Sku = new AzureNative.DataBox.Inputs.SkuArgs
{
Name = AzureNative.DataBox.SkuName.DataBox,
},
TransferType = AzureNative.DataBox.TransferType.ImportToAzure,
});
});
package main
import (
databox "github.com/pulumi/pulumi-azure-native-sdk/databox/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databox.NewJob(ctx, "job", &databox.JobArgs{
Details: &databox.DataBoxJobDetailsArgs{
ContactDetails: &databox.ContactDetailsArgs{
ContactName: pulumi.String("XXXX XXXX"),
EmailList: pulumi.StringArray{
pulumi.String("xxxx@xxxx.xxx"),
},
Phone: pulumi.String("0000000000"),
PhoneExtension: pulumi.String(""),
},
DataImportDetails: databox.DataImportDetailsArray{
&databox.DataImportDetailsArgs{
AccountDetails: databox.StorageAccountDetails{
DataAccountType: "StorageAccount",
StorageAccountId: "/subscriptions/YourSubscriptionId/resourcegroups/YourResourceGroupName/providers/Microsoft.Storage/storageAccounts/YourStorageAccountName",
},
},
},
JobDetailsType: pulumi.String("DataBox"),
Preferences: &databox.PreferencesArgs{
EncryptionPreferences: &databox.EncryptionPreferencesArgs{
DoubleEncryption: pulumi.String(databox.DoubleEncryptionEnabled),
},
},
ShippingAddress: &databox.ShippingAddressArgs{
AddressType: pulumi.String(databox.AddressTypeCommercial),
City: pulumi.String("XXXX XXXX"),
CompanyName: pulumi.String("XXXX XXXX"),
Country: pulumi.String("XX"),
PostalCode: pulumi.String("00000"),
StateOrProvince: pulumi.String("XX"),
StreetAddress1: pulumi.String("XXXX XXXX"),
StreetAddress2: pulumi.String("XXXX XXXX"),
},
},
JobName: pulumi.String("TestJobName1"),
Location: pulumi.String("westus"),
ResourceGroupName: pulumi.String("YourResourceGroupName"),
Sku: &databox.SkuArgs{
Name: pulumi.String(databox.SkuNameDataBox),
},
TransferType: pulumi.String(databox.TransferTypeImportToAzure),
})
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.databox.Job;
import com.pulumi.azurenative.databox.JobArgs;
import com.pulumi.azurenative.databox.inputs.SkuArgs;
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 job = new Job("job", JobArgs.builder()
.details(DataBoxJobDetailsArgs.builder()
.contactDetails(ContactDetailsArgs.builder()
.contactName("XXXX XXXX")
.emailList("xxxx@xxxx.xxx")
.phone("0000000000")
.phoneExtension("")
.build())
.dataImportDetails(DataImportDetailsArgs.builder()
.accountDetails(StorageAccountDetailsArgs.builder()
.dataAccountType("StorageAccount")
.storageAccountId("/subscriptions/YourSubscriptionId/resourcegroups/YourResourceGroupName/providers/Microsoft.Storage/storageAccounts/YourStorageAccountName")
.build())
.build())
.jobDetailsType("DataBox")
.preferences(PreferencesArgs.builder()
.encryptionPreferences(EncryptionPreferencesArgs.builder()
.doubleEncryption("Enabled")
.build())
.build())
.shippingAddress(ShippingAddressArgs.builder()
.addressType("Commercial")
.city("XXXX XXXX")
.companyName("XXXX XXXX")
.country("XX")
.postalCode("00000")
.stateOrProvince("XX")
.streetAddress1("XXXX XXXX")
.streetAddress2("XXXX XXXX")
.build())
.build())
.jobName("TestJobName1")
.location("westus")
.resourceGroupName("YourResourceGroupName")
.sku(SkuArgs.builder()
.name("DataBox")
.build())
.transferType("ImportToAzure")
.build());
}
}

JobsCreateExport

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var job = new AzureNative.DataBox.Job("job", new()
{
Details = new AzureNative.DataBox.Inputs.DataBoxJobDetailsArgs
{
ContactDetails = new AzureNative.DataBox.Inputs.ContactDetailsArgs
{
ContactName = "XXXX XXXX",
EmailList = new[]
{
"xxxx@xxxx.xxx",
},
Phone = "0000000000",
PhoneExtension = "",
},
DataExportDetails = new[]
{
new AzureNative.DataBox.Inputs.DataExportDetailsArgs
{
AccountDetails = new AzureNative.DataBox.Inputs.StorageAccountDetailsArgs
{
DataAccountType = "StorageAccount",
StorageAccountId = "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Storage/storageAccounts/YourStorageAccountName",
},
TransferConfiguration = new AzureNative.DataBox.Inputs.TransferConfigurationArgs
{
TransferAllDetails = new AzureNative.DataBox.Inputs.TransferConfigurationTransferAllDetailsArgs
{
Include = new AzureNative.DataBox.Inputs.TransferAllDetailsArgs
{
DataAccountType = AzureNative.DataBox.DataAccountType.StorageAccount,
TransferAllBlobs = true,
TransferAllFiles = true,
},
},
TransferConfigurationType = AzureNative.DataBox.TransferConfigurationType.TransferAll,
},
},
},
JobDetailsType = "DataBox",
ShippingAddress = new AzureNative.DataBox.Inputs.ShippingAddressArgs
{
AddressType = AzureNative.DataBox.AddressType.Commercial,
City = "XXXX XXXX",
CompanyName = "XXXX XXXX",
Country = "XX",
PostalCode = "00000",
StateOrProvince = "XX",
StreetAddress1 = "XXXX XXXX",
StreetAddress2 = "XXXX XXXX",
},
},
JobName = "TestJobName1",
Location = "westus",
ResourceGroupName = "YourResourceGroupName",
Sku = new AzureNative.DataBox.Inputs.SkuArgs
{
Name = AzureNative.DataBox.SkuName.DataBox,
},
TransferType = AzureNative.DataBox.TransferType.ExportFromAzure,
});
});
package main
import (
databox "github.com/pulumi/pulumi-azure-native-sdk/databox/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databox.NewJob(ctx, "job", &databox.JobArgs{
Details: &databox.DataBoxJobDetailsArgs{
ContactDetails: &databox.ContactDetailsArgs{
ContactName: pulumi.String("XXXX XXXX"),
EmailList: pulumi.StringArray{
pulumi.String("xxxx@xxxx.xxx"),
},
Phone: pulumi.String("0000000000"),
PhoneExtension: pulumi.String(""),
},
DataExportDetails: databox.DataExportDetailsArray{
&databox.DataExportDetailsArgs{
AccountDetails: databox.StorageAccountDetails{
DataAccountType: "StorageAccount",
StorageAccountId: "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Storage/storageAccounts/YourStorageAccountName",
},
TransferConfiguration: &databox.TransferConfigurationArgs{
TransferAllDetails: &databox.TransferConfigurationTransferAllDetailsArgs{
Include: &databox.TransferAllDetailsArgs{
DataAccountType: pulumi.String(databox.DataAccountTypeStorageAccount),
TransferAllBlobs: pulumi.Bool(true),
TransferAllFiles: pulumi.Bool(true),
},
},
TransferConfigurationType: pulumi.String(databox.TransferConfigurationTypeTransferAll),
},
},
},
JobDetailsType: pulumi.String("DataBox"),
ShippingAddress: &databox.ShippingAddressArgs{
AddressType: pulumi.String(databox.AddressTypeCommercial),
City: pulumi.String("XXXX XXXX"),
CompanyName: pulumi.String("XXXX XXXX"),
Country: pulumi.String("XX"),
PostalCode: pulumi.String("00000"),
StateOrProvince: pulumi.String("XX"),
StreetAddress1: pulumi.String("XXXX XXXX"),
StreetAddress2: pulumi.String("XXXX XXXX"),
},
},
JobName: pulumi.String("TestJobName1"),
Location: pulumi.String("westus"),
ResourceGroupName: pulumi.String("YourResourceGroupName"),
Sku: &databox.SkuArgs{
Name: pulumi.String(databox.SkuNameDataBox),
},
TransferType: pulumi.String(databox.TransferTypeExportFromAzure),
})
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.databox.Job;
import com.pulumi.azurenative.databox.JobArgs;
import com.pulumi.azurenative.databox.inputs.SkuArgs;
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 job = new Job("job", JobArgs.builder()
.details(DataBoxJobDetailsArgs.builder()
.contactDetails(ContactDetailsArgs.builder()
.contactName("XXXX XXXX")
.emailList("xxxx@xxxx.xxx")
.phone("0000000000")
.phoneExtension("")
.build())
.dataExportDetails(DataExportDetailsArgs.builder()
.accountDetails(StorageAccountDetailsArgs.builder()
.dataAccountType("StorageAccount")
.storageAccountId("/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Storage/storageAccounts/YourStorageAccountName")
.build())
.transferConfiguration(TransferConfigurationArgs.builder()
.transferAllDetails(TransferConfigurationTransferAllDetailsArgs.builder()
.include(TransferAllDetailsArgs.builder()
.dataAccountType("StorageAccount")
.transferAllBlobs(true)
.transferAllFiles(true)
.build())
.build())
.transferConfigurationType("TransferAll")
.build())
.build())
.jobDetailsType("DataBox")
.shippingAddress(ShippingAddressArgs.builder()
.addressType("Commercial")
.city("XXXX XXXX")
.companyName("XXXX XXXX")
.country("XX")
.postalCode("00000")
.stateOrProvince("XX")
.streetAddress1("XXXX XXXX")
.streetAddress2("XXXX XXXX")
.build())
.build())
.jobName("TestJobName1")
.location("westus")
.resourceGroupName("YourResourceGroupName")
.sku(SkuArgs.builder()
.name("DataBox")
.build())
.transferType("ExportFromAzure")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:databox:Job TestJobName1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}

Properties

Link copied to clipboard
val allDevicesLost: Output<Boolean>

Flag to indicate if all devices associated with the job are lost.

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

Reason for cancellation.

Link copied to clipboard
val delayedStage: Output<String>

Name of the stage where delay might be present.

Link copied to clipboard

Delivery Info of Job.

Link copied to clipboard
val deliveryType: Output<String>?

Delivery type of Job.

Link copied to clipboard
val details: Output<Any>?

Details of a job run. This field will only be sent for expand details filter.

Link copied to clipboard

Top level error for the job.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Msi identity of the resource

Link copied to clipboard
val isCancellable: Output<Boolean>

Describes whether the job is cancellable or not.

Link copied to clipboard

Flag to indicate cancellation of scheduled job.

Link copied to clipboard
val isDeletable: Output<Boolean>

Describes whether the job is deletable or not.

Link copied to clipboard

Is Prepare To Ship Enabled on this job

Link copied to clipboard

Describes whether the shipping address is editable or not.

Link copied to clipboard
val location: Output<String>

The location of the resource. This will be one of the supported and registered Azure Regions (e.g. West US, East US, Southeast Asia, etc.). The region of a resource cannot be changed once it is created, but if an identical region is specified on update the request will succeed.

Link copied to clipboard
val name: Output<String>

Name of the object.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The Editable status for Reverse Shipping Address and Contact Info

Link copied to clipboard

The Editable status for Reverse Transport preferences

Link copied to clipboard
val sku: Output<SkuResponse>

The sku type.

Link copied to clipboard
val startTime: Output<String>

Time at which the job was started in UTC ISO 8601 format.

Link copied to clipboard
val status: Output<String>

Name of the stage which is in progress.

Link copied to clipboard

Metadata pertaining to creation and last modification of the resource.

Link copied to clipboard
val tags: Output<Map<String, String>>?

The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).

Link copied to clipboard
val transferType: Output<String>

Type of the data transfer.

Link copied to clipboard
val type: Output<String>

Type of the object.

Link copied to clipboard
val urn: Output<String>