Microsoft.DataBox (stable:2018-01-01)

2025/09/12 • 12 new, 12 deleted 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 ,
}
,
]
,
nextLink: 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:
{
isCancellable: boolean ,
isDeletable: boolean ,
isShippingAddressEditable: boolean ,
status: enum ,
startTime: string ,
error:
{
code: string ,
message: string ,
}
,
details:
{
expectedDataSizeInTeraBytes: integer ,
jobStages:
[
{
stageName: enum ,
displayName: string ,
stageStatus: enum ,
stageTime: string ,
jobStageDetails: object ,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: 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 ,
}
,
deliveryPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
returnPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
destinationAccountDetails:
[
{
dataDestinationType: enum ,
accountId: string ,
}
,
]
,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: string ,
}
,
]
,
jobDetailsType: enum ,
preferences:
{
preferredDataCenterRegion:
[
string ,
]
,
}
,
copyLogDetails:
[
{
copyLogDetailsType: enum ,
}
,
]
,
reverseShipmentLabelSasKey: string ,
chainOfCustodySasKey: string ,
}
,
cancellationReason: string ,
}
,
name: string ,
id: string ,
type: string ,
}
,
]
,
nextLink: string ,
}
Service_ListAvailableSkus (new)
Description This method provides the list of available skus for the given subscription and location.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/availableSkus
{
subscriptionId: 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 ,
}
,
enabled: boolean ,
properties:
{
destinationToServiceLocationMap:
[
{
destinationLocation: string ,
serviceLocation: string ,
}
,
]
,
capacity:
{
usable: string ,
maximum: string ,
}
,
costs:
[
{
meterId: string ,
meterType: string ,
}
,
]
,
apiVersions:
[
string ,
]
,
disabledReason: enum ,
disabledReasonMessage: string ,
requiredFeature: string ,
}
,
}
,
]
,
nextLink: string ,
}
Service_ValidateAddress (new)
Description 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 ,
}
,
deviceType: 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 ,
}
,
]
,
}
,
}
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:
{
isCancellable: boolean ,
isDeletable: boolean ,
isShippingAddressEditable: boolean ,
status: enum ,
startTime: string ,
error:
{
code: string ,
message: string ,
}
,
details:
{
expectedDataSizeInTeraBytes: integer ,
jobStages:
[
{
stageName: enum ,
displayName: string ,
stageStatus: enum ,
stageTime: string ,
jobStageDetails: object ,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: 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 ,
}
,
deliveryPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
returnPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
destinationAccountDetails:
[
{
dataDestinationType: enum ,
accountId: string ,
}
,
]
,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: string ,
}
,
]
,
jobDetailsType: enum ,
preferences:
{
preferredDataCenterRegion:
[
string ,
]
,
}
,
copyLogDetails:
[
{
copyLogDetailsType: enum ,
}
,
]
,
reverseShipmentLabelSasKey: string ,
chainOfCustodySasKey: string ,
}
,
cancellationReason: string ,
}
,
name: string ,
id: string ,
type: string ,
}
,
]
,
nextLink: 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:
{
isCancellable: boolean ,
isDeletable: boolean ,
isShippingAddressEditable: boolean ,
status: enum ,
startTime: string ,
error:
{
code: string ,
message: string ,
}
,
details:
{
expectedDataSizeInTeraBytes: integer ,
jobStages:
[
{
stageName: enum ,
displayName: string ,
stageStatus: enum ,
stageTime: string ,
jobStageDetails: object ,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: 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 ,
}
,
deliveryPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
returnPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
destinationAccountDetails:
[
{
dataDestinationType: enum ,
accountId: string ,
}
,
]
,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: string ,
}
,
]
,
jobDetailsType: enum ,
preferences:
{
preferredDataCenterRegion:
[
string ,
]
,
}
,
copyLogDetails:
[
{
copyLogDetailsType: enum ,
}
,
]
,
reverseShipmentLabelSasKey: string ,
chainOfCustodySasKey: string ,
}
,
cancellationReason: string ,
}
,
name: string ,
id: string ,
type: 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:
{
isCancellable: boolean ,
isDeletable: boolean ,
isShippingAddressEditable: boolean ,
status: enum ,
startTime: string ,
error:
{
code: string ,
message: string ,
}
,
details:
{
expectedDataSizeInTeraBytes: integer ,
jobStages:
[
{
stageName: enum ,
displayName: string ,
stageStatus: enum ,
stageTime: string ,
jobStageDetails: object ,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: 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 ,
}
,
deliveryPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
returnPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
destinationAccountDetails:
[
{
dataDestinationType: enum ,
accountId: string ,
}
,
]
,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: string ,
}
,
]
,
jobDetailsType: enum ,
preferences:
{
preferredDataCenterRegion:
[
string ,
]
,
}
,
copyLogDetails:
[
{
copyLogDetailsType: enum ,
}
,
]
,
reverseShipmentLabelSasKey: string ,
chainOfCustodySasKey: string ,
}
,
cancellationReason: string ,
}
,
name: string ,
id: string ,
type: string ,
}
,
}

⚐ Response (200)

{
properties:
{
isCancellable: boolean ,
isDeletable: boolean ,
isShippingAddressEditable: boolean ,
status: enum ,
startTime: string ,
error:
{
code: string ,
message: string ,
}
,
details:
{
expectedDataSizeInTeraBytes: integer ,
jobStages:
[
{
stageName: enum ,
displayName: string ,
stageStatus: enum ,
stageTime: string ,
jobStageDetails: object ,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: 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 ,
}
,
deliveryPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
returnPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
destinationAccountDetails:
[
{
dataDestinationType: enum ,
accountId: string ,
}
,
]
,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: string ,
}
,
]
,
jobDetailsType: enum ,
preferences:
{
preferredDataCenterRegion:
[
string ,
]
,
}
,
copyLogDetails:
[
{
copyLogDetailsType: enum ,
}
,
]
,
reverseShipmentLabelSasKey: string ,
chainOfCustodySasKey: string ,
}
,
cancellationReason: string ,
}
,
name: string ,
id: string ,
type: string ,
}

⚐ Response (202)

{}
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 (202)

{}

⚐ Response (204)

{}
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 ,
}
,
}
,
destinationAccountDetails:
[
{
dataDestinationType: enum ,
accountId: string ,
}
,
]
,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
isCancellable: boolean ,
isDeletable: boolean ,
isShippingAddressEditable: boolean ,
status: enum ,
startTime: string ,
error:
{
code: string ,
message: string ,
}
,
details:
{
expectedDataSizeInTeraBytes: integer ,
jobStages:
[
{
stageName: enum ,
displayName: string ,
stageStatus: enum ,
stageTime: string ,
jobStageDetails: object ,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: 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 ,
}
,
deliveryPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
returnPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
destinationAccountDetails:
[
{
dataDestinationType: enum ,
accountId: string ,
}
,
]
,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: string ,
}
,
]
,
jobDetailsType: enum ,
preferences:
{
preferredDataCenterRegion:
[
string ,
]
,
}
,
copyLogDetails:
[
{
copyLogDetailsType: enum ,
}
,
]
,
reverseShipmentLabelSasKey: string ,
chainOfCustodySasKey: string ,
}
,
cancellationReason: string ,
}
,
name: string ,
id: string ,
type: string ,
}

⚐ Response (202)

{}
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 ,
}
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)

{}
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 ,
}
,
}
,
]
,
nextLink: string ,
}
Operations_List (removed)
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 ,
}
,
]
,
nextLink: string ,
}
Jobs_List (removed)
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:
{
isCancellable: boolean ,
isDeletable: boolean ,
isShippingAddressEditable: boolean ,
status: enum ,
startTime: string ,
error:
{
code: string ,
message: string ,
}
,
details:
{
expectedDataSizeInTeraBytes: integer ,
jobStages:
[
{
stageName: enum ,
displayName: string ,
stageStatus: enum ,
stageTime: string ,
jobStageDetails: object ,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: 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 ,
}
,
deliveryPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
returnPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
destinationAccountDetails:
[
{
dataDestinationType: enum ,
accountId: string ,
}
,
]
,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: string ,
}
,
]
,
jobDetailsType: enum ,
preferences:
{
preferredDataCenterRegion:
[
string ,
]
,
}
,
copyLogDetails:
[
{
copyLogDetailsType: enum ,
}
,
]
,
reverseShipmentLabelSasKey: string ,
chainOfCustodySasKey: string ,
}
,
cancellationReason: string ,
}
,
name: string ,
id: string ,
type: string ,
}
,
]
,
nextLink: string ,
}
Service_ListAvailableSkus (removed)
Description This method provides the list of available skus for the given subscription and location.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/availableSkus
{
subscriptionId: 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 ,
}
,
enabled: boolean ,
properties:
{
destinationToServiceLocationMap:
[
{
destinationLocation: string ,
serviceLocation: string ,
}
,
]
,
capacity:
{
usable: string ,
maximum: string ,
}
,
costs:
[
{
meterId: string ,
meterType: string ,
}
,
]
,
apiVersions:
[
string ,
]
,
disabledReason: enum ,
disabledReasonMessage: string ,
requiredFeature: string ,
}
,
}
,
]
,
nextLink: string ,
}
Service_ValidateAddress (removed)
Description 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 ,
}
,
deviceType: 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 ,
}
,
]
,
}
,
}
Jobs_ListByResourceGroup (removed)
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:
{
isCancellable: boolean ,
isDeletable: boolean ,
isShippingAddressEditable: boolean ,
status: enum ,
startTime: string ,
error:
{
code: string ,
message: string ,
}
,
details:
{
expectedDataSizeInTeraBytes: integer ,
jobStages:
[
{
stageName: enum ,
displayName: string ,
stageStatus: enum ,
stageTime: string ,
jobStageDetails: object ,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: 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 ,
}
,
deliveryPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
returnPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
destinationAccountDetails:
[
{
dataDestinationType: enum ,
accountId: string ,
}
,
]
,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: string ,
}
,
]
,
jobDetailsType: enum ,
preferences:
{
preferredDataCenterRegion:
[
string ,
]
,
}
,
copyLogDetails:
[
{
copyLogDetailsType: enum ,
}
,
]
,
reverseShipmentLabelSasKey: string ,
chainOfCustodySasKey: string ,
}
,
cancellationReason: string ,
}
,
name: string ,
id: string ,
type: string ,
}
,
]
,
nextLink: string ,
}
Jobs_Get (removed)
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:
{
isCancellable: boolean ,
isDeletable: boolean ,
isShippingAddressEditable: boolean ,
status: enum ,
startTime: string ,
error:
{
code: string ,
message: string ,
}
,
details:
{
expectedDataSizeInTeraBytes: integer ,
jobStages:
[
{
stageName: enum ,
displayName: string ,
stageStatus: enum ,
stageTime: string ,
jobStageDetails: object ,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: 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 ,
}
,
deliveryPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
returnPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
destinationAccountDetails:
[
{
dataDestinationType: enum ,
accountId: string ,
}
,
]
,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: string ,
}
,
]
,
jobDetailsType: enum ,
preferences:
{
preferredDataCenterRegion:
[
string ,
]
,
}
,
copyLogDetails:
[
{
copyLogDetailsType: enum ,
}
,
]
,
reverseShipmentLabelSasKey: string ,
chainOfCustodySasKey: string ,
}
,
cancellationReason: string ,
}
,
name: string ,
id: string ,
type: string ,
}
Jobs_Create (removed)
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:
{
isCancellable: boolean ,
isDeletable: boolean ,
isShippingAddressEditable: boolean ,
status: enum ,
startTime: string ,
error:
{
code: string ,
message: string ,
}
,
details:
{
expectedDataSizeInTeraBytes: integer ,
jobStages:
[
{
stageName: enum ,
displayName: string ,
stageStatus: enum ,
stageTime: string ,
jobStageDetails: object ,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: 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 ,
}
,
deliveryPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
returnPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
destinationAccountDetails:
[
{
dataDestinationType: enum ,
accountId: string ,
}
,
]
,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: string ,
}
,
]
,
jobDetailsType: enum ,
preferences:
{
preferredDataCenterRegion:
[
string ,
]
,
}
,
copyLogDetails:
[
{
copyLogDetailsType: enum ,
}
,
]
,
reverseShipmentLabelSasKey: string ,
chainOfCustodySasKey: string ,
}
,
cancellationReason: string ,
}
,
name: string ,
id: string ,
type: string ,
}
,
}

⚐ Response (200)

{
properties:
{
isCancellable: boolean ,
isDeletable: boolean ,
isShippingAddressEditable: boolean ,
status: enum ,
startTime: string ,
error:
{
code: string ,
message: string ,
}
,
details:
{
expectedDataSizeInTeraBytes: integer ,
jobStages:
[
{
stageName: enum ,
displayName: string ,
stageStatus: enum ,
stageTime: string ,
jobStageDetails: object ,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: 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 ,
}
,
deliveryPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
returnPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
destinationAccountDetails:
[
{
dataDestinationType: enum ,
accountId: string ,
}
,
]
,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: string ,
}
,
]
,
jobDetailsType: enum ,
preferences:
{
preferredDataCenterRegion:
[
string ,
]
,
}
,
copyLogDetails:
[
{
copyLogDetailsType: enum ,
}
,
]
,
reverseShipmentLabelSasKey: string ,
chainOfCustodySasKey: string ,
}
,
cancellationReason: string ,
}
,
name: string ,
id: string ,
type: string ,
}

⚐ Response (202)

{}
Jobs_Delete (removed)
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 (202)

{}

⚐ Response (204)

{}
Jobs_Update (removed)
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 ,
}
,
}
,
destinationAccountDetails:
[
{
dataDestinationType: enum ,
accountId: string ,
}
,
]
,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
isCancellable: boolean ,
isDeletable: boolean ,
isShippingAddressEditable: boolean ,
status: enum ,
startTime: string ,
error:
{
code: string ,
message: string ,
}
,
details:
{
expectedDataSizeInTeraBytes: integer ,
jobStages:
[
{
stageName: enum ,
displayName: string ,
stageStatus: enum ,
stageTime: string ,
jobStageDetails: object ,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: 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 ,
}
,
deliveryPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
returnPackage:
{
carrierName: string ,
trackingId: string ,
trackingUrl: string ,
}
,
destinationAccountDetails:
[
{
dataDestinationType: enum ,
accountId: string ,
}
,
]
,
errorDetails:
[
{
errorMessage: string ,
errorCode: integer ,
recommendedAction: string ,
exceptionMessage: string ,
}
,
]
,
jobDetailsType: enum ,
preferences:
{
preferredDataCenterRegion:
[
string ,
]
,
}
,
copyLogDetails:
[
{
copyLogDetailsType: enum ,
}
,
]
,
reverseShipmentLabelSasKey: string ,
chainOfCustodySasKey: string ,
}
,
cancellationReason: string ,
}
,
name: string ,
id: string ,
type: string ,
}

⚐ Response (202)

{}
Jobs_BookShipmentPickUp (removed)
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 ,
}
Jobs_Cancel (removed)
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)

{}
Jobs_ListCredentials (removed)
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 ,
}
,
}
,
]
,
nextLink: string ,
}