Job Args
data class JobArgs(val deliveryInfo: Output<JobDeliveryInfoArgs>? = null, val deliveryType: Output<Either<String, JobDeliveryType>>? = null, val details: Output<Any>? = null, val identity: Output<ResourceIdentityArgs>? = null, val jobName: Output<String>? = null, val location: Output<String>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<SkuArgs>? = null, val tags: Output<Map<String, String>>? = null, val transferType: Output<Either<String, TransferType>>? = null) : ConvertibleToJava<JobArgs>
Job Resource. Uses Azure REST API version 2022-12-01. In version 1.x of the Azure Native provider, it used API version 2020-11-01. Other available API versions: 2023-03-01, 2023-12-01, 2024-02-01-preview, 2024-03-01-preview, 2025-02-01.
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,
});
});
Content copied to clipboard
package main
import (
databox "github.com/pulumi/pulumi-azure-native-sdk/databox/v2"
"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
})
}
Content copied to clipboard
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(DataBoxCustomerDiskJobDetailsArgs.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());
}
}
Content copied to clipboard
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,
});
});
Content copied to clipboard
package main
import (
databox "github.com/pulumi/pulumi-azure-native-sdk/databox/v2"
"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
})
}
Content copied to clipboard
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(DataBoxCustomerDiskJobDetailsArgs.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());
}
}
Content copied to clipboard
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,
});
});
Content copied to clipboard
package main
import (
databox "github.com/pulumi/pulumi-azure-native-sdk/databox/v2"
"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
})
}
Content copied to clipboard
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(DataBoxCustomerDiskJobDetailsArgs.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());
}
}
Content copied to clipboard
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,
});
});
Content copied to clipboard
package main
import (
databox "github.com/pulumi/pulumi-azure-native-sdk/databox/v2"
"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
})
}
Content copied to clipboard
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(DataBoxCustomerDiskJobDetailsArgs.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());
}
}
Content copied to clipboard
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}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(deliveryInfo: Output<JobDeliveryInfoArgs>? = null, deliveryType: Output<Either<String, JobDeliveryType>>? = null, details: Output<Any>? = null, identity: Output<ResourceIdentityArgs>? = null, jobName: Output<String>? = null, location: Output<String>? = null, resourceGroupName: Output<String>? = null, sku: Output<SkuArgs>? = null, tags: Output<Map<String, String>>? = null, transferType: Output<Either<String, TransferType>>? = null)
Properties
Link copied to clipboard
Delivery Info of Job.
Link copied to clipboard
Delivery type of Job.
Link copied to clipboard
Msi identity of the resource
Link copied to clipboard
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
The Resource Group Name
Link copied to clipboard
Type of the data transfer.