Microsoft.DataBox (stable:2025-02-01)

2025/02/21 • 18 new methods

Operations_List (new)
Description This method gets all the operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.DataBox/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
properties: object ,
origin: string ,
isDataAction: boolean ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
target: string ,
}
,
}
Jobs_List (new)
Description Lists all the jobs available under the subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/jobs
{
subscriptionId: string ,
api-version: string ,
$skipToken: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
transferType: enum ,
isCancellable: boolean ,
isDeletable: boolean ,
isShippingAddressEditable: boolean ,
reverseShippingDetailsUpdate: enum ,
reverseTransportPreferenceUpdate: enum ,
isPrepareToShipEnabled: boolean ,
status: enum ,
delayedStage: enum ,
startTime: string ,
error:
{
additionalInfo:
[
{
info: object ,
type: string ,
}
,
]
,
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
details:
{
jobStages:
[
{
stageName: enum ,
displayName: string ,
stageStatus: enum ,
stageTime: string ,
jobStageDetails: object ,
delayInformation:
[
{
status: enum ,
errorCode: enum ,
description: string ,
startTime: string ,
resolutionTime: string ,
}
,
]
,
}
,
]
,
contactDetails:
{
contactName: string ,
phone: string ,
phoneExtension: string ,
mobile: string ,
emailList:
[
string ,
]
,
notificationPreference:
[
{
stageName: enum ,
sendNotification: boolean ,
}
,
]
,
}
,
shippingAddress:
{
streetAddress1: string ,
streetAddress2: string ,
streetAddress3: string ,
city: string ,
stateOrProvince: string ,
country: string ,
postalCode: string ,
zipExtendedCode: string ,
companyName: string ,
addressType: enum ,
skipAddressValidation: boolean ,
taxIdentificationNumber: string ,
}
,
deliveryPackage:
{
trackingUrl: string ,
carrierName: string ,
trackingId: string ,
}
,
returnPackage:
{
trackingUrl: string ,
carrierName: string ,
trackingId: string ,
}
,
dataImportDetails:
[
{
accountDetails:
{
dataAccountType: enum ,
sharePassword: string ,
}
,
logCollectionLevel: enum ,
}
,
]
,
dataExportDetails:
[
{
transferConfiguration:
{
transferConfigurationType: enum ,
transferFilterDetails:
{
include:
{
dataAccountType: enum ,
blobFilterDetails:
{
blobPrefixList:
[
string ,
]
,
blobPathList:
[
string ,
]
,
containerList:
[
string ,
]
,
}
,
azureFileFilterDetails:
{
filePrefixList:
[
string ,
]
,
filePathList:
[
string ,
]
,
fileShareList:
[
string ,
]
,
}
,
filterFileDetails:
[
{
filterFileType: enum ,
filterFilePath: string ,
}
,
]
,
}
,
}
,
transferAllDetails:
{
include:
{
dataAccountType: enum ,
transferAllBlobs: boolean ,
transferAllFiles: boolean ,
}
,
}
,
}
,
logCollectionLevel: enum ,
accountDetails:
{
dataAccountType: enum ,
sharePassword: string ,
}
,
}
,
]
,
jobDetailsType: enum ,
preferences:
{
preferredDataCenterRegion:
[
string ,
]
,
transportPreferences:
{
preferredShipmentType: enum ,
isUpdated: boolean ,
}
,
reverseTransportPreferences:
{
preferredShipmentType: enum ,
isUpdated: boolean ,
}
,
encryptionPreferences:
{
doubleEncryption: enum ,
hardwareEncryption: enum ,
}
,
storageAccountAccessTierPreferences:
[
string ,
]
,
}
,
reverseShippingDetails:
{
contactDetails:
{
contactName: string ,
phone: string ,
phoneExtension: string ,
mobile: string ,
}
,
shippingAddress:
{
streetAddress1: string ,
streetAddress2: string ,
streetAddress3: string ,
city: string ,
stateOrProvince: string ,
country: string ,
postalCode: string ,
zipExtendedCode: string ,
companyName: string ,
addressType: enum ,
skipAddressValidation: boolean ,
taxIdentificationNumber: string ,
}
,
isUpdated: boolean ,
}
,
copyLogDetails:
[
{
copyLogDetailsType: enum ,
}
,
]
,
reverseShipmentLabelSasKey: string ,
chainOfCustodySasKey: string ,
deviceErasureDetails:
{
deviceErasureStatus: enum ,
erasureOrDestructionCertificateSasKey: string ,
}
,
keyEncryptionKey:
{
kekType: enum ,
identityProperties:
{
type: string ,
userAssigned:
{
resourceId: string ,
}
,
}
,
kekUrl: string ,
kekVaultResourceID: string ,
}
,
expectedDataSizeInTeraBytes: integer ,
actions:
[
string ,
]
,
lastMitigationActionOnJob:
{
actionDateTimeInUtc: string ,
isPerformedByCustomer: boolean ,
customerResolution: enum ,
}
,
datacenterAddress:
{
datacenterAddressType: enum ,
supportedCarriersForReturnShipment:
[
string ,
]
,
dataCenterAzureLocation: string ,
}
,
dataCenterCode: enum ,
}
,
cancellationReason: string ,
deliveryType: enum ,
deliveryInfo:
{
scheduledDateTime: string ,
}
,
isCancellableWithoutFee: boolean ,
allDevicesLost: boolean ,
}
,
name: string ,
id: string ,
type: string ,
systemData:
{
createdBy: string ,
createdByType: string ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: string ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
target: string ,
}
,
}
Mitigate (new)
Description Request to mitigate for a given job
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/mitigate
{
jobName: string ,
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
mitigateJobRequest:
{
customerResolutionCode: enum ,
serialNumberCustomerResolutionMap: object ,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
target: string ,
}
,
}
Jobs_MarkDevicesShipped (new)
Description Request to mark devices for a given job as shipped
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/markDevicesShipped
{
jobName: string ,
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
markDevicesShippedRequest:
{
deliverToDcPackageDetails:
{
carrierName: string ,
trackingId: string ,
}
,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
target: string ,
}
,
}
Service_ListAvailableSkusByResourceGroup (new)
Description This method provides the list of available skus for the given subscription, resource group and location.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/availableSkus
{
subscriptionId: string ,
resourceGroupName: string ,
location: string ,
api-version: string ,
availableSkuRequest:
{
transferType: enum ,
country: string ,
location: string ,
skuNames:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
value:
[
{
sku:
{
name: enum ,
displayName: string ,
family: string ,
model: enum ,
}
,
enabled: boolean ,
properties:
{
dataLocationToServiceLocationMap:
[
{
dataLocation: string ,
serviceLocation: string ,
}
,
]
,
capacity:
{
usable: string ,
maximum: string ,
individualSkuUsable: string ,
}
,
costs:
[
{
meterId: string ,
meterType: string ,
multiplier: number ,
}
,
]
,
apiVersions:
[
string ,
]
,
disabledReason: enum ,
disabledReasonMessage: string ,
requiredFeature: string ,
countriesWithinCommerceBoundary:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
target: string ,
}
,
}
Service_ValidateAddress (new)
Description [DEPRECATED NOTICE: This operation will soon be removed]. This method validates the customer shipping address and provide alternate addresses if any.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateAddress
{
subscriptionId: string ,
location: string ,
api-version: string ,
validateAddress:
{
shippingAddress:
{
streetAddress1: string ,
streetAddress2: string ,
streetAddress3: string ,
city: string ,
stateOrProvince: string ,
country: string ,
postalCode: string ,
zipExtendedCode: string ,
companyName: string ,
addressType: enum ,
skipAddressValidation: boolean ,
taxIdentificationNumber: string ,
}
,
deviceType: enum ,
transportPreferences:
{
preferredShipmentType: enum ,
isUpdated: boolean ,
}
,
model: enum ,
}
,
}

⚐ Response (200)

{
properties:
{
validationStatus: enum ,
alternateAddresses:
[
{
streetAddress1: string ,
streetAddress2: string ,
streetAddress3: string ,
city: string ,
stateOrProvince: string ,
country: string ,
postalCode: string ,
zipExtendedCode: string ,
companyName: string ,
addressType: enum ,
skipAddressValidation: boolean ,
taxIdentificationNumber: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
target: string ,
}
,
}
Service_ValidateInputsByResourceGroup (new)
Description This method does all necessary pre-job creation validation under resource group.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/validateInputs
{
subscriptionId: string ,
resourceGroupName: string ,
location: string ,
api-version: string ,
validationRequest:
{
validationCategory: enum ,
individualRequestDetails:
[
{
validationType: enum ,
}
,
]
,
}
,
}

⚐ Response (200)

{
properties:
{
status: enum ,
individualResponseDetails:
[
{
validationType: enum ,
error:
{
additionalInfo:
[
{
info: object ,
type: string ,
}
,
]
,
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
target: string ,
}
,
}
Service_ValidateInputs (new)
Description This method does all necessary pre-job creation validation under subscription.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateInputs
{
subscriptionId: string ,
location: string ,
api-version: string ,
validationRequest:
{
validationCategory: enum ,
individualRequestDetails:
[
{
validationType: enum ,
}
,
]
,
}
,
}

⚐ Response (200)

{
properties:
{
status: enum ,
individualResponseDetails:
[
{
validationType: enum ,
error:
{
additionalInfo:
[
{
info: object ,
type: string ,
}
,
]
,
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
target: string ,
}
,
}
Jobs_ListByResourceGroup (new)
Description Lists all the jobs available under the given resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
$skipToken: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
transferType: enum ,
isCancellable: boolean ,
isDeletable: boolean ,
isShippingAddressEditable: boolean ,
reverseShippingDetailsUpdate: enum ,
reverseTransportPreferenceUpdate: enum ,
isPrepareToShipEnabled: boolean ,
status: enum ,
delayedStage: enum ,
startTime: string ,
error:
{
additionalInfo:
[
{
info: object ,
type: string ,
}
,
]
,
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
details:
{
jobStages:
[
{
stageName: enum ,
displayName: string ,
stageStatus: enum ,
stageTime: string ,
jobStageDetails: object ,
delayInformation:
[
{
status: enum ,
errorCode: enum ,
description: string ,
startTime: string ,
resolutionTime: string ,
}
,
]
,
}
,
]
,
contactDetails:
{
contactName: string ,
phone: string ,
phoneExtension: string ,
mobile: string ,
emailList:
[
string ,
]
,
notificationPreference:
[
{
stageName: enum ,
sendNotification: boolean ,
}
,
]
,
}
,
shippingAddress:
{
streetAddress1: string ,
streetAddress2: string ,
streetAddress3: string ,
city: string ,
stateOrProvince: string ,
country: string ,
postalCode: string ,
zipExtendedCode: string ,
companyName: string ,
addressType: enum ,
skipAddressValidation: boolean ,
taxIdentificationNumber: string ,
}
,
deliveryPackage:
{
trackingUrl: string ,
carrierName: string ,
trackingId: string ,
}
,
returnPackage:
{
trackingUrl: string ,
carrierName: string ,
trackingId: string ,
}
,
dataImportDetails:
[
{
accountDetails:
{
dataAccountType: enum ,
sharePassword: string ,
}
,
logCollectionLevel: enum ,
}
,
]
,
dataExportDetails:
[
{
transferConfiguration:
{
transferConfigurationType: enum ,
transferFilterDetails:
{
include:
{
dataAccountType: enum ,
blobFilterDetails:
{
blobPrefixList:
[
string ,
]
,
blobPathList:
[
string ,
]
,
containerList:
[
string ,
]
,
}
,
azureFileFilterDetails:
{
filePrefixList:
[
string ,
]
,
filePathList:
[
string ,
]
,
fileShareList:
[
string ,
]
,
}
,
filterFileDetails:
[
{
filterFileType: enum ,
filterFilePath: string ,
}
,
]
,
}
,
}
,
transferAllDetails:
{
include:
{
dataAccountType: enum ,
transferAllBlobs: boolean ,
transferAllFiles: boolean ,
}
,
}
,
}
,
logCollectionLevel: enum ,
accountDetails:
{
dataAccountType: enum ,
sharePassword: string ,
}
,
}
,
]
,
jobDetailsType: enum ,
preferences:
{
preferredDataCenterRegion:
[
string ,
]
,
transportPreferences:
{
preferredShipmentType: enum ,
isUpdated: boolean ,
}
,
reverseTransportPreferences:
{
preferredShipmentType: enum ,
isUpdated: boolean ,
}
,
encryptionPreferences:
{
doubleEncryption: enum ,
hardwareEncryption: enum ,
}
,
storageAccountAccessTierPreferences:
[
string ,
]
,
}
,
reverseShippingDetails:
{
contactDetails:
{
contactName: string ,
phone: string ,
phoneExtension: string ,
mobile: string ,
}
,
shippingAddress:
{
streetAddress1: string ,
streetAddress2: string ,
streetAddress3: string ,
city: string ,
stateOrProvince: string ,
country: string ,
postalCode: string ,
zipExtendedCode: string ,
companyName: string ,
addressType: enum ,
skipAddressValidation: boolean ,
taxIdentificationNumber: string ,
}
,
isUpdated: boolean ,
}
,
copyLogDetails:
[
{
copyLogDetailsType: enum ,
}
,
]
,
reverseShipmentLabelSasKey: string ,
chainOfCustodySasKey: string ,
deviceErasureDetails:
{
deviceErasureStatus: enum ,
erasureOrDestructionCertificateSasKey: string ,
}
,
keyEncryptionKey:
{
kekType: enum ,
identityProperties:
{
type: string ,
userAssigned:
{
resourceId: string ,
}
,
}
,
kekUrl: string ,
kekVaultResourceID: string ,
}
,
expectedDataSizeInTeraBytes: integer ,
actions:
[
string ,
]
,
lastMitigationActionOnJob:
{
actionDateTimeInUtc: string ,
isPerformedByCustomer: boolean ,
customerResolution: enum ,
}
,
datacenterAddress:
{
datacenterAddressType: enum ,
supportedCarriersForReturnShipment:
[
string ,
]
,
dataCenterAzureLocation: string ,
}
,
dataCenterCode: enum ,
}
,
cancellationReason: string ,
deliveryType: enum ,
deliveryInfo:
{
scheduledDateTime: string ,
}
,
isCancellableWithoutFee: boolean ,
allDevicesLost: boolean ,
}
,
name: string ,
id: string ,
type: string ,
systemData:
{
createdBy: string ,
createdByType: string ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: string ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
target: string ,
}
,
}
Jobs_Get (new)
Description Gets information about the specified job.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}
{
subscriptionId: string ,
resourceGroupName: string ,
jobName: string ,
api-version: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
transferType: enum ,
isCancellable: boolean ,
isDeletable: boolean ,
isShippingAddressEditable: boolean ,
reverseShippingDetailsUpdate: enum ,
reverseTransportPreferenceUpdate: enum ,
isPrepareToShipEnabled: boolean ,
status: enum ,
delayedStage: enum ,
startTime: string ,
error:
{
additionalInfo:
[
{
info: object ,
type: string ,
}
,
]
,
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
details:
{
jobStages:
[
{
stageName: enum ,
displayName: string ,
stageStatus: enum ,
stageTime: string ,
jobStageDetails: object ,
delayInformation:
[
{
status: enum ,
errorCode: enum ,
description: string ,
startTime: string ,
resolutionTime: string ,
}
,
]
,
}
,
]
,
contactDetails:
{
contactName: string ,
phone: string ,
phoneExtension: string ,
mobile: string ,
emailList:
[
string ,
]
,
notificationPreference:
[
{
stageName: enum ,
sendNotification: boolean ,
}
,
]
,
}
,
shippingAddress:
{
streetAddress1: string ,
streetAddress2: string ,
streetAddress3: string ,
city: string ,
stateOrProvince: string ,
country: string ,
postalCode: string ,
zipExtendedCode: string ,
companyName: string ,
addressType: enum ,
skipAddressValidation: boolean ,
taxIdentificationNumber: string ,
}
,
deliveryPackage:
{
trackingUrl: string ,
carrierName: string ,
trackingId: string ,
}
,
returnPackage:
{
trackingUrl: string ,
carrierName: string ,
trackingId: string ,
}
,
dataImportDetails:
[
{
accountDetails:
{
dataAccountType: enum ,
sharePassword: string ,
}
,
logCollectionLevel: enum ,
}
,
]
,
dataExportDetails:
[
{
transferConfiguration:
{
transferConfigurationType: enum ,
transferFilterDetails:
{
include:
{
dataAccountType: enum ,
blobFilterDetails:
{
blobPrefixList:
[
string ,
]
,
blobPathList:
[
string ,
]
,
containerList:
[
string ,
]
,
}
,
azureFileFilterDetails:
{
filePrefixList:
[
string ,
]
,
filePathList:
[
string ,
]
,
fileShareList:
[
string ,
]
,
}
,
filterFileDetails:
[
{
filterFileType: enum ,
filterFilePath: string ,
}
,
]
,
}
,
}
,
transferAllDetails:
{
include:
{
dataAccountType: enum ,
transferAllBlobs: boolean ,
transferAllFiles: boolean ,
}
,
}
,
}
,
logCollectionLevel: enum ,
accountDetails:
{
dataAccountType: enum ,
sharePassword: string ,
}
,
}
,
]
,
jobDetailsType: enum ,
preferences:
{
preferredDataCenterRegion:
[
string ,
]
,
transportPreferences:
{
preferredShipmentType: enum ,
isUpdated: boolean ,
}
,
reverseTransportPreferences:
{
preferredShipmentType: enum ,
isUpdated: boolean ,
}
,
encryptionPreferences:
{
doubleEncryption: enum ,
hardwareEncryption: enum ,
}
,
storageAccountAccessTierPreferences:
[
string ,
]
,
}
,
reverseShippingDetails:
{
contactDetails:
{
contactName: string ,
phone: string ,
phoneExtension: string ,
mobile: string ,
}
,
shippingAddress:
{
streetAddress1: string ,
streetAddress2: string ,
streetAddress3: string ,
city: string ,
stateOrProvince: string ,
country: string ,
postalCode: string ,
zipExtendedCode: string ,
companyName: string ,
addressType: enum ,
skipAddressValidation: boolean ,
taxIdentificationNumber: string ,
}
,
isUpdated: boolean ,
}
,
copyLogDetails:
[
{
copyLogDetailsType: enum ,
}
,
]
,
reverseShipmentLabelSasKey: string ,
chainOfCustodySasKey: string ,
deviceErasureDetails:
{
deviceErasureStatus: enum ,
erasureOrDestructionCertificateSasKey: string ,
}
,
keyEncryptionKey:
{
kekType: enum ,
identityProperties:
{
type: string ,
userAssigned:
{
resourceId: string ,
}
,
}
,
kekUrl: string ,
kekVaultResourceID: string ,
}
,
expectedDataSizeInTeraBytes: integer ,
actions:
[
string ,
]
,
lastMitigationActionOnJob:
{
actionDateTimeInUtc: string ,
isPerformedByCustomer: boolean ,
customerResolution: enum ,
}
,
datacenterAddress:
{
datacenterAddressType: enum ,
supportedCarriersForReturnShipment:
[
string ,
]
,
dataCenterAzureLocation: string ,
}
,
dataCenterCode: enum ,
}
,
cancellationReason: string ,
deliveryType: enum ,
deliveryInfo:
{
scheduledDateTime: string ,
}
,
isCancellableWithoutFee: boolean ,
allDevicesLost: boolean ,
}
,
name: string ,
id: string ,
type: string ,
systemData:
{
createdBy: string ,
createdByType: string ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: string ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
target: string ,
}
,
}
Jobs_Create (new)
Description Creates a new job with the specified parameters. Existing job cannot be updated with this API and should instead be updated with the Update job API.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}
{
subscriptionId: string ,
resourceGroupName: string ,
jobName: string ,
api-version: string ,
jobResource:
{
properties:
{
transferType: enum ,
isCancellable: boolean ,
isDeletable: boolean ,
isShippingAddressEditable: boolean ,
reverseShippingDetailsUpdate: enum ,
reverseTransportPreferenceUpdate: enum ,
isPrepareToShipEnabled: boolean ,
status: enum ,
delayedStage: enum ,
startTime: string ,
error:
{
additionalInfo:
[
{
info: object ,
type: string ,
}
,
]
,
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
details:
{
jobStages:
[
{
stageName: enum ,
displayName: string ,
stageStatus: enum ,
stageTime: string ,
jobStageDetails: object ,
delayInformation:
[
{
status: enum ,
errorCode: enum ,
description: string ,
startTime: string ,
resolutionTime: string ,
}
,
]
,
}
,
]
,
contactDetails:
{
contactName: string ,
phone: string ,
phoneExtension: string ,
mobile: string ,
emailList:
[
string ,
]
,
notificationPreference:
[
{
stageName: enum ,
sendNotification: boolean ,
}
,
]
,
}
,
shippingAddress:
{
streetAddress1: string ,
streetAddress2: string ,
streetAddress3: string ,
city: string ,
stateOrProvince: string ,
country: string ,
postalCode: string ,
zipExtendedCode: string ,
companyName: string ,
addressType: enum ,
skipAddressValidation: boolean ,
taxIdentificationNumber: string ,
}
,
deliveryPackage:
{
trackingUrl: string ,
carrierName: string ,
trackingId: string ,
}
,
returnPackage:
{
trackingUrl: string ,
carrierName: string ,
trackingId: string ,
}
,
dataImportDetails:
[
{
accountDetails:
{
dataAccountType: enum ,
sharePassword: string ,
}
,
logCollectionLevel: enum ,
}
,
]
,
dataExportDetails:
[
{
transferConfiguration:
{
transferConfigurationType: enum ,
transferFilterDetails:
{
include:
{
dataAccountType: enum ,
blobFilterDetails:
{
blobPrefixList:
[
string ,
]
,
blobPathList:
[
string ,
]
,
containerList:
[
string ,
]
,
}
,
azureFileFilterDetails:
{
filePrefixList:
[
string ,
]
,
filePathList:
[
string ,
]
,
fileShareList:
[
string ,
]
,
}
,
filterFileDetails:
[
{
filterFileType: enum ,
filterFilePath: string ,
}
,
]
,
}
,
}
,
transferAllDetails:
{
include:
{
dataAccountType: enum ,
transferAllBlobs: boolean ,
transferAllFiles: boolean ,
}
,
}
,
}
,
logCollectionLevel: enum ,
accountDetails:
{
dataAccountType: enum ,
sharePassword: string ,
}
,
}
,
]
,
jobDetailsType: enum ,
preferences:
{
preferredDataCenterRegion:
[
string ,
]
,
transportPreferences:
{
preferredShipmentType: enum ,
isUpdated: boolean ,
}
,
reverseTransportPreferences:
{
preferredShipmentType: enum ,
isUpdated: boolean ,
}
,
encryptionPreferences:
{
doubleEncryption: enum ,
hardwareEncryption: enum ,
}
,
storageAccountAccessTierPreferences:
[
string ,
]
,
}
,
reverseShippingDetails:
{
contactDetails:
{
contactName: string ,
phone: string ,
phoneExtension: string ,
mobile: string ,
}
,
shippingAddress:
{
streetAddress1: string ,
streetAddress2: string ,
streetAddress3: string ,
city: string ,
stateOrProvince: string ,
country: string ,
postalCode: string ,
zipExtendedCode: string ,
companyName: string ,
addressType: enum ,
skipAddressValidation: boolean ,
taxIdentificationNumber: string ,
}
,
isUpdated: boolean ,
}
,
copyLogDetails:
[
{
copyLogDetailsType: enum ,
}
,
]
,
reverseShipmentLabelSasKey: string ,
chainOfCustodySasKey: string ,
deviceErasureDetails:
{
deviceErasureStatus: enum ,
erasureOrDestructionCertificateSasKey: string ,
}
,
keyEncryptionKey:
{
kekType: enum ,
identityProperties:
{
type: string ,
userAssigned:
{
resourceId: string ,
}
,
}
,
kekUrl: string ,
kekVaultResourceID: string ,
}
,
expectedDataSizeInTeraBytes: integer ,
actions:
[
string ,
]
,
lastMitigationActionOnJob:
{
actionDateTimeInUtc: string ,
isPerformedByCustomer: boolean ,
customerResolution: enum ,
}
,
datacenterAddress:
{
datacenterAddressType: enum ,
supportedCarriersForReturnShipment:
[
string ,
]
,
dataCenterAzureLocation: string ,
}
,
dataCenterCode: enum ,
}
,
cancellationReason: string ,
deliveryType: enum ,
deliveryInfo:
{
scheduledDateTime: string ,
}
,
isCancellableWithoutFee: boolean ,
allDevicesLost: boolean ,
}
,
name: string ,
id: string ,
type: string ,
systemData:
{
createdBy: string ,
createdByType: string ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: string ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
transferType: enum ,
isCancellable: boolean ,
isDeletable: boolean ,
isShippingAddressEditable: boolean ,
reverseShippingDetailsUpdate: enum ,
reverseTransportPreferenceUpdate: enum ,
isPrepareToShipEnabled: boolean ,
status: enum ,
delayedStage: enum ,
startTime: string ,
error:
{
additionalInfo:
[
{
info: object ,
type: string ,
}
,
]
,
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
details:
{
jobStages:
[
{
stageName: enum ,
displayName: string ,
stageStatus: enum ,
stageTime: string ,
jobStageDetails: object ,
delayInformation:
[
{
status: enum ,
errorCode: enum ,
description: string ,
startTime: string ,
resolutionTime: string ,
}
,
]
,
}
,
]
,
contactDetails:
{
contactName: string ,
phone: string ,
phoneExtension: string ,
mobile: string ,
emailList:
[
string ,
]
,
notificationPreference:
[
{
stageName: enum ,
sendNotification: boolean ,
}
,
]
,
}
,
shippingAddress:
{
streetAddress1: string ,
streetAddress2: string ,
streetAddress3: string ,
city: string ,
stateOrProvince: string ,
country: string ,
postalCode: string ,
zipExtendedCode: string ,
companyName: string ,
addressType: enum ,
skipAddressValidation: boolean ,
taxIdentificationNumber: string ,
}
,
deliveryPackage:
{
trackingUrl: string ,
carrierName: string ,
trackingId: string ,
}
,
returnPackage:
{
trackingUrl: string ,
carrierName: string ,
trackingId: string ,
}
,
dataImportDetails:
[
{
accountDetails:
{
dataAccountType: enum ,
sharePassword: string ,
}
,
logCollectionLevel: enum ,
}
,
]
,
dataExportDetails:
[
{
transferConfiguration:
{
transferConfigurationType: enum ,
transferFilterDetails:
{
include:
{
dataAccountType: enum ,
blobFilterDetails:
{
blobPrefixList:
[
string ,
]
,
blobPathList:
[
string ,
]
,
containerList:
[
string ,
]
,
}
,
azureFileFilterDetails:
{
filePrefixList:
[
string ,
]
,
filePathList:
[
string ,
]
,
fileShareList:
[
string ,
]
,
}
,
filterFileDetails:
[
{
filterFileType: enum ,
filterFilePath: string ,
}
,
]
,
}
,
}
,
transferAllDetails:
{
include:
{
dataAccountType: enum ,
transferAllBlobs: boolean ,
transferAllFiles: boolean ,
}
,
}
,
}
,
logCollectionLevel: enum ,
accountDetails:
{
dataAccountType: enum ,
sharePassword: string ,
}
,
}
,
]
,
jobDetailsType: enum ,
preferences:
{
preferredDataCenterRegion:
[
string ,
]
,
transportPreferences:
{
preferredShipmentType: enum ,
isUpdated: boolean ,
}
,
reverseTransportPreferences:
{
preferredShipmentType: enum ,
isUpdated: boolean ,
}
,
encryptionPreferences:
{
doubleEncryption: enum ,
hardwareEncryption: enum ,
}
,
storageAccountAccessTierPreferences:
[
string ,
]
,
}
,
reverseShippingDetails:
{
contactDetails:
{
contactName: string ,
phone: string ,
phoneExtension: string ,
mobile: string ,
}
,
shippingAddress:
{
streetAddress1: string ,
streetAddress2: string ,
streetAddress3: string ,
city: string ,
stateOrProvince: string ,
country: string ,
postalCode: string ,
zipExtendedCode: string ,
companyName: string ,
addressType: enum ,
skipAddressValidation: boolean ,
taxIdentificationNumber: string ,
}
,
isUpdated: boolean ,
}
,
copyLogDetails:
[
{
copyLogDetailsType: enum ,
}
,
]
,
reverseShipmentLabelSasKey: string ,
chainOfCustodySasKey: string ,
deviceErasureDetails:
{
deviceErasureStatus: enum ,
erasureOrDestructionCertificateSasKey: string ,
}
,
keyEncryptionKey:
{
kekType: enum ,
identityProperties:
{
type: string ,
userAssigned:
{
resourceId: string ,
}
,
}
,
kekUrl: string ,
kekVaultResourceID: string ,
}
,
expectedDataSizeInTeraBytes: integer ,
actions:
[
string ,
]
,
lastMitigationActionOnJob:
{
actionDateTimeInUtc: string ,
isPerformedByCustomer: boolean ,
customerResolution: enum ,
}
,
datacenterAddress:
{
datacenterAddressType: enum ,
supportedCarriersForReturnShipment:
[
string ,
]
,
dataCenterAzureLocation: string ,
}
,
dataCenterCode: enum ,
}
,
cancellationReason: string ,
deliveryType: enum ,
deliveryInfo:
{
scheduledDateTime: string ,
}
,
isCancellableWithoutFee: boolean ,
allDevicesLost: boolean ,
}
,
name: string ,
id: string ,
type: string ,
systemData:
{
createdBy: string ,
createdByType: string ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: string ,
lastModifiedAt: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
target: string ,
}
,
}
Jobs_Delete (new)
Description Deletes a job.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}
{
subscriptionId: string ,
resourceGroupName: string ,
jobName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
target: string ,
}
,
}
Jobs_Update (new)
Description Updates the properties of an existing job.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}
{
subscriptionId: string ,
resourceGroupName: string ,
jobName: string ,
api-version: string ,
If-Match: string ,
jobResourceUpdateParameter:
{
properties:
{
details:
{
contactDetails:
{
contactName: string ,
phone: string ,
phoneExtension: string ,
mobile: string ,
emailList:
[
string ,
]
,
notificationPreference:
[
{
stageName: enum ,
sendNotification: boolean ,
}
,
]
,
}
,
shippingAddress:
{
streetAddress1: string ,
streetAddress2: string ,
streetAddress3: string ,
city: string ,
stateOrProvince: string ,
country: string ,
postalCode: string ,
zipExtendedCode: string ,
companyName: string ,
addressType: enum ,
skipAddressValidation: boolean ,
taxIdentificationNumber: string ,
}
,
reverseShippingDetails:
{
contactDetails:
{
contactName: string ,
phone: string ,
phoneExtension: string ,
mobile: string ,
}
,
shippingAddress:
{
streetAddress1: string ,
streetAddress2: string ,
streetAddress3: string ,
city: string ,
stateOrProvince: string ,
country: string ,
postalCode: string ,
zipExtendedCode: string ,
companyName: string ,
addressType: enum ,
skipAddressValidation: boolean ,
taxIdentificationNumber: string ,
}
,
isUpdated: boolean ,
}
,
preferences:
{
preferredDataCenterRegion:
[
string ,
]
,
transportPreferences:
{
preferredShipmentType: enum ,
isUpdated: boolean ,
}
,
reverseTransportPreferences:
{
preferredShipmentType: enum ,
isUpdated: boolean ,
}
,
encryptionPreferences:
{
doubleEncryption: enum ,
hardwareEncryption: enum ,
}
,
storageAccountAccessTierPreferences:
[
string ,
]
,
}
,
keyEncryptionKey:
{
kekType: enum ,
identityProperties:
{
type: string ,
userAssigned:
{
resourceId: string ,
}
,
}
,
kekUrl: string ,
kekVaultResourceID: string ,
}
,
returnToCustomerPackageDetails:
{
carrierAccountNumber: string ,
carrierName: string ,
trackingId: string ,
}
,
}
,
}
,
tags: object ,
identity:
{
type: string ,
principalId: string ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
transferType: enum ,
isCancellable: boolean ,
isDeletable: boolean ,
isShippingAddressEditable: boolean ,
reverseShippingDetailsUpdate: enum ,
reverseTransportPreferenceUpdate: enum ,
isPrepareToShipEnabled: boolean ,
status: enum ,
delayedStage: enum ,
startTime: string ,
error:
{
additionalInfo:
[
{
info: object ,
type: string ,
}
,
]
,
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
details:
{
jobStages:
[
{
stageName: enum ,
displayName: string ,
stageStatus: enum ,
stageTime: string ,
jobStageDetails: object ,
delayInformation:
[
{
status: enum ,
errorCode: enum ,
description: string ,
startTime: string ,
resolutionTime: string ,
}
,
]
,
}
,
]
,
contactDetails:
{
contactName: string ,
phone: string ,
phoneExtension: string ,
mobile: string ,
emailList:
[
string ,
]
,
notificationPreference:
[
{
stageName: enum ,
sendNotification: boolean ,
}
,
]
,
}
,
shippingAddress:
{
streetAddress1: string ,
streetAddress2: string ,
streetAddress3: string ,
city: string ,
stateOrProvince: string ,
country: string ,
postalCode: string ,
zipExtendedCode: string ,
companyName: string ,
addressType: enum ,
skipAddressValidation: boolean ,
taxIdentificationNumber: string ,
}
,
deliveryPackage:
{
trackingUrl: string ,
carrierName: string ,
trackingId: string ,
}
,
returnPackage:
{
trackingUrl: string ,
carrierName: string ,
trackingId: string ,
}
,
dataImportDetails:
[
{
accountDetails:
{
dataAccountType: enum ,
sharePassword: string ,
}
,
logCollectionLevel: enum ,
}
,
]
,
dataExportDetails:
[
{
transferConfiguration:
{
transferConfigurationType: enum ,
transferFilterDetails:
{
include:
{
dataAccountType: enum ,
blobFilterDetails:
{
blobPrefixList:
[
string ,
]
,
blobPathList:
[
string ,
]
,
containerList:
[
string ,
]
,
}
,
azureFileFilterDetails:
{
filePrefixList:
[
string ,
]
,
filePathList:
[
string ,
]
,
fileShareList:
[
string ,
]
,
}
,
filterFileDetails:
[
{
filterFileType: enum ,
filterFilePath: string ,
}
,
]
,
}
,
}
,
transferAllDetails:
{
include:
{
dataAccountType: enum ,
transferAllBlobs: boolean ,
transferAllFiles: boolean ,
}
,
}
,
}
,
logCollectionLevel: enum ,
accountDetails:
{
dataAccountType: enum ,
sharePassword: string ,
}
,
}
,
]
,
jobDetailsType: enum ,
preferences:
{
preferredDataCenterRegion:
[
string ,
]
,
transportPreferences:
{
preferredShipmentType: enum ,
isUpdated: boolean ,
}
,
reverseTransportPreferences:
{
preferredShipmentType: enum ,
isUpdated: boolean ,
}
,
encryptionPreferences:
{
doubleEncryption: enum ,
hardwareEncryption: enum ,
}
,
storageAccountAccessTierPreferences:
[
string ,
]
,
}
,
reverseShippingDetails:
{
contactDetails:
{
contactName: string ,
phone: string ,
phoneExtension: string ,
mobile: string ,
}
,
shippingAddress:
{
streetAddress1: string ,
streetAddress2: string ,
streetAddress3: string ,
city: string ,
stateOrProvince: string ,
country: string ,
postalCode: string ,
zipExtendedCode: string ,
companyName: string ,
addressType: enum ,
skipAddressValidation: boolean ,
taxIdentificationNumber: string ,
}
,
isUpdated: boolean ,
}
,
copyLogDetails:
[
{
copyLogDetailsType: enum ,
}
,
]
,
reverseShipmentLabelSasKey: string ,
chainOfCustodySasKey: string ,
deviceErasureDetails:
{
deviceErasureStatus: enum ,
erasureOrDestructionCertificateSasKey: string ,
}
,
keyEncryptionKey:
{
kekType: enum ,
identityProperties:
{
type: string ,
userAssigned:
{
resourceId: string ,
}
,
}
,
kekUrl: string ,
kekVaultResourceID: string ,
}
,
expectedDataSizeInTeraBytes: integer ,
actions:
[
string ,
]
,
lastMitigationActionOnJob:
{
actionDateTimeInUtc: string ,
isPerformedByCustomer: boolean ,
customerResolution: enum ,
}
,
datacenterAddress:
{
datacenterAddressType: enum ,
supportedCarriersForReturnShipment:
[
string ,
]
,
dataCenterAzureLocation: string ,
}
,
dataCenterCode: enum ,
}
,
cancellationReason: string ,
deliveryType: enum ,
deliveryInfo:
{
scheduledDateTime: string ,
}
,
isCancellableWithoutFee: boolean ,
allDevicesLost: boolean ,
}
,
name: string ,
id: string ,
type: string ,
systemData:
{
createdBy: string ,
createdByType: string ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: string ,
lastModifiedAt: string ,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
target: string ,
}
,
}
Jobs_BookShipmentPickUp (new)
Description Book shipment pick up.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/bookShipmentPickUp
{
subscriptionId: string ,
resourceGroupName: string ,
jobName: string ,
api-version: string ,
shipmentPickUpRequest:
{
startTime: string ,
endTime: string ,
shipmentLocation: string ,
}
,
}

⚐ Response (200)

{
confirmationNumber: string ,
readyByTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
target: string ,
}
,
}
Jobs_Cancel (new)
Description CancelJob.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/cancel
{
subscriptionId: string ,
resourceGroupName: string ,
jobName: string ,
api-version: string ,
cancellationReason:
{
reason: string ,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
target: string ,
}
,
}
Jobs_ListCredentials (new)
Description This method gets the unencrypted secrets related to the job.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/listCredentials
{
subscriptionId: string ,
resourceGroupName: string ,
jobName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
jobName: string ,
jobSecrets:
{
jobSecretsType: enum ,
dcAccessSecurityCode:
{
reverseDCAccessCode: string ,
forwardDCAccessCode: string ,
}
,
error:
{
additionalInfo:
[
{
info: object ,
type: string ,
}
,
]
,
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
target: string ,
}
,
}
Service_RegionConfiguration (new)
Description This API provides configuration details specific to given region/location at Subscription level.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/regionConfiguration
{
subscriptionId: string ,
location: string ,
api-version: string ,
regionConfigurationRequest:
{
scheduleAvailabilityRequest:
{
storageLocation: string ,
skuName: enum ,
country: string ,
model: enum ,
}
,
transportAvailabilityRequest:
{
skuName: enum ,
model: enum ,
}
,
datacenterAddressRequest:
{
storageLocation: string ,
skuName: enum ,
model: enum ,
}
,
deviceCapabilityRequest:
{
skuName: enum ,
model: enum ,
}
,
}
,
}

⚐ Response (200)

{
scheduleAvailabilityResponse:
{
availableDates:
[
string ,
]
,
}
,
transportAvailabilityResponse:
{
transportAvailabilityDetails:
[
{
shipmentType: enum ,
}
,
]
,
}
,
datacenterAddressResponse:
{
datacenterAddressType: enum ,
supportedCarriersForReturnShipment:
[
string ,
]
,
dataCenterAzureLocation: string ,
}
,
deviceCapabilityResponse:
{
deviceCapabilityDetails:
[
{
hardwareEncryption: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
target: string ,
}
,
}
Service_RegionConfigurationByResourceGroup (new)
Description This API provides configuration details specific to given region/location at Resource group level.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/regionConfiguration
{
subscriptionId: string ,
resourceGroupName: string ,
location: string ,
api-version: string ,
regionConfigurationRequest:
{
scheduleAvailabilityRequest:
{
storageLocation: string ,
skuName: enum ,
country: string ,
model: enum ,
}
,
transportAvailabilityRequest:
{
skuName: enum ,
model: enum ,
}
,
datacenterAddressRequest:
{
storageLocation: string ,
skuName: enum ,
model: enum ,
}
,
deviceCapabilityRequest:
{
skuName: enum ,
model: enum ,
}
,
}
,
}

⚐ Response (200)

{
scheduleAvailabilityResponse:
{
availableDates:
[
string ,
]
,
}
,
transportAvailabilityResponse:
{
transportAvailabilityDetails:
[
{
shipmentType: enum ,
}
,
]
,
}
,
datacenterAddressResponse:
{
datacenterAddressType: enum ,
supportedCarriersForReturnShipment:
[
string ,
]
,
dataCenterAzureLocation: string ,
}
,
deviceCapabilityResponse:
{
deviceCapabilityDetails:
[
{
hardwareEncryption: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
target: string ,
}
,
}