From 82d0b92ba417589c51b7ac09256e561aab455e3c Mon Sep 17 00:00:00 2001 From: Jing-song <37168047+Jing-song@users.noreply.github.com> Date: Wed, 10 May 2023 17:43:17 +0800 Subject: [PATCH 01/13] databox --- Commands/databox/job/_cancel.md | 9 + Commands/databox/job/_create.md | 9 + Commands/databox/job/_delete.md | 9 + Commands/databox/job/_list-credential.md | 9 + Commands/databox/job/_list.md | 10 + Commands/databox/job/_show.md | 9 + Commands/databox/job/_update.md | 9 + Commands/databox/job/readme.md | 26 + Commands/databox/readme.md | 8 + Commands/readme.md | 3 + Commands/tree.json | 180 + .../2022-12-01.json | 1 + .../2022-12-01.xml | 1739 +++++++ .../2022-12-01.md | 1 + .../2022-12-01.json | 1 + .../2022-12-01.xml | 4462 +++++++++++++++++ .../2022-12-01.json | 1 + .../2022-12-01.xml | 55 + .../2022-12-01.json | 1 + .../2022-12-01.xml | 167 + 20 files changed, 6709 insertions(+) create mode 100644 Commands/databox/job/_cancel.md create mode 100644 Commands/databox/job/_create.md create mode 100644 Commands/databox/job/_delete.md create mode 100644 Commands/databox/job/_list-credential.md create mode 100644 Commands/databox/job/_list.md create mode 100644 Commands/databox/job/_show.md create mode 100644 Commands/databox/job/_update.md create mode 100644 Commands/databox/job/readme.md create mode 100644 Commands/databox/readme.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbGlzdGNyZWRlbnRpYWxz/2022-12-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbGlzdGNyZWRlbnRpYWxz/2022-12-01.xml diff --git a/Commands/databox/job/_cancel.md b/Commands/databox/job/_cancel.md new file mode 100644 index 000000000..45194b61a --- /dev/null +++ b/Commands/databox/job/_cancel.md @@ -0,0 +1,9 @@ +# [Command] _databox job cancel_ + +CancelJob. + +## Versions + +### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.xml) **Stable** + + diff --git a/Commands/databox/job/_create.md b/Commands/databox/job/_create.md new file mode 100644 index 000000000..fe3d39dae --- /dev/null +++ b/Commands/databox/job/_create.md @@ -0,0 +1,9 @@ +# [Command] _databox job create_ + +Create a new job with the specified parameters. + +## Versions + +### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml) **Stable** + + diff --git a/Commands/databox/job/_delete.md b/Commands/databox/job/_delete.md new file mode 100644 index 000000000..c671401b6 --- /dev/null +++ b/Commands/databox/job/_delete.md @@ -0,0 +1,9 @@ +# [Command] _databox job delete_ + +Delete a job. + +## Versions + +### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml) **Stable** + + diff --git a/Commands/databox/job/_list-credential.md b/Commands/databox/job/_list-credential.md new file mode 100644 index 000000000..a7d168771 --- /dev/null +++ b/Commands/databox/job/_list-credential.md @@ -0,0 +1,9 @@ +# [Command] _databox job list-credential_ + +This method gets the unencrypted secrets related to the job. + +## Versions + +### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbGlzdGNyZWRlbnRpYWxz/2022-12-01.xml) **Stable** + + diff --git a/Commands/databox/job/_list.md b/Commands/databox/job/_list.md new file mode 100644 index 000000000..c07fa3f01 --- /dev/null +++ b/Commands/databox/job/_list.md @@ -0,0 +1,10 @@ +# [Command] _databox job list_ + +List all the jobs available under the subscription. + +## Versions + +### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.xml) **Stable** + + + diff --git a/Commands/databox/job/_show.md b/Commands/databox/job/_show.md new file mode 100644 index 000000000..7451d258a --- /dev/null +++ b/Commands/databox/job/_show.md @@ -0,0 +1,9 @@ +# [Command] _databox job show_ + +Get information about the specified job. + +## Versions + +### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml) **Stable** + + diff --git a/Commands/databox/job/_update.md b/Commands/databox/job/_update.md new file mode 100644 index 000000000..8462ebc0e --- /dev/null +++ b/Commands/databox/job/_update.md @@ -0,0 +1,9 @@ +# [Command] _databox job update_ + +Update 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. + +## Versions + +### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml) **Stable** + + diff --git a/Commands/databox/job/readme.md b/Commands/databox/job/readme.md new file mode 100644 index 000000000..81e551f15 --- /dev/null +++ b/Commands/databox/job/readme.md @@ -0,0 +1,26 @@ +# [Group] _databox job_ + +Manage data box job + +## Commands + +- [cancel](/Commands/databox/job/_cancel.md) +: CancelJob. + +- [create](/Commands/databox/job/_create.md) +: Create a new job with the specified parameters. + +- [delete](/Commands/databox/job/_delete.md) +: Delete a job. + +- [list](/Commands/databox/job/_list.md) +: List all the jobs available under the subscription. + +- [list-credential](/Commands/databox/job/_list-credential.md) +: This method gets the unencrypted secrets related to the job. + +- [show](/Commands/databox/job/_show.md) +: Get information about the specified job. + +- [update](/Commands/databox/job/_update.md) +: Update 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. diff --git a/Commands/databox/readme.md b/Commands/databox/readme.md new file mode 100644 index 000000000..e769af12b --- /dev/null +++ b/Commands/databox/readme.md @@ -0,0 +1,8 @@ +# [Group] _databox_ + +Manage data box + +## Subgroups + +- [job](/Commands/databox/job/readme.md) +: Manage data box job diff --git a/Commands/readme.md b/Commands/readme.md index baff8e2fe..e923e443b 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -20,6 +20,9 @@ - [confidentialledger](/Commands/confidentialledger/readme.md) : Deploy and manage Azure confidential ledgers. +- [databox](/Commands/databox/readme.md) +: Manage data box + - [databricks](/Commands/databricks/readme.md) : Manage databricks workspaces. diff --git a/Commands/tree.json b/Commands/tree.json index 5e428ee77..751001562 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -2652,6 +2652,186 @@ "confidentialledger" ] }, + "databox": { + "commandGroups": { + "job": { + "commands": { + "cancel": { + "help": { + "short": "CancelJob." + }, + "names": [ + "databox", + "job", + "cancel" + ], + "versions": [ + { + "name": "2022-12-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/cancel", + "plane": "mgmt-plane", + "version": "2022-12-01" + } + ] + } + ] + }, + "create": { + "help": { + "short": "Create a new job with the specified parameters." + }, + "names": [ + "databox", + "job", + "create" + ], + "versions": [ + { + "name": "2022-12-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", + "plane": "mgmt-plane", + "version": "2022-12-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete a job." + }, + "names": [ + "databox", + "job", + "delete" + ], + "versions": [ + { + "name": "2022-12-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", + "plane": "mgmt-plane", + "version": "2022-12-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List all the jobs available under the subscription." + }, + "names": [ + "databox", + "job", + "list" + ], + "versions": [ + { + "name": "2022-12-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.databox/jobs", + "plane": "mgmt-plane", + "version": "2022-12-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs", + "plane": "mgmt-plane", + "version": "2022-12-01" + } + ] + } + ] + }, + "list-credential": { + "help": { + "short": "This method gets the unencrypted secrets related to the job." + }, + "names": [ + "databox", + "job", + "list-credential" + ], + "versions": [ + { + "name": "2022-12-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/listcredentials", + "plane": "mgmt-plane", + "version": "2022-12-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get information about the specified job." + }, + "names": [ + "databox", + "job", + "show" + ], + "versions": [ + { + "name": "2022-12-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", + "plane": "mgmt-plane", + "version": "2022-12-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update 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." + }, + "names": [ + "databox", + "job", + "update" + ], + "versions": [ + { + "name": "2022-12-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", + "plane": "mgmt-plane", + "version": "2022-12-01" + } + ] + } + ] + } + }, + "help": { + "short": "Manage data box job" + }, + "names": [ + "databox", + "job" + ] + } + }, + "help": { + "short": "Manage data box" + }, + "names": [ + "databox" + ] + }, "databricks": { "commandGroups": { "access-connector": { diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.json new file mode 100644 index 000000000..bbe608a57 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icw==/V/MjAyMi0xMi0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2Jz/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "list", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icw==/V/MjAyMi0xMi0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2Jz/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.skipToken", "options": ["skip-token"], "hide": true, "group": "", "help": {"short": "$skipToken is supported on Get list of jobs, which provides the next page in the list of jobs."}}]}], "conditions": [{"var": "$Condition_Jobs_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_Jobs_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_Jobs_ListByResourceGroup"], "operationId": "Jobs_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$skipToken", "arg": "$Query.skipToken"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_Jobs_List"], "operationId": "Jobs_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/jobs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$skipToken", "arg": "$Query.skipToken"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "@PackageShippingDetails_read", "name": "deliveryPackage"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "@TransportPreferences_read", "name": "transportPreferences"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.xml new file mode 100644 index 000000000..c9ac08cd6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.xml @@ -0,0 +1,1739 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.md new file mode 100644 index 000000000..f4c923ddd --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.databox/jobs 2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json new file mode 100644 index 000000000..b32e4fd4d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}, "default": {"value": false}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "required": true, "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "required": true, "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "required": true, "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "required": true, "help": {"short": "Return package shipping details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "@DataAccountDetails_create", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "@DataAccountDetails_create.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "@DataAccountDetails_create.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "@DataAccountDetails_create.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "@DataAccountDetails_create.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "@DataAccountDetails_create.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "@DataAccountDetails_create.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}], "cls": "DataAccountDetails_create"}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey", "options": ["key-encryption-key"], "group": "Details", "help": {"short": "Details about which key encryption type is being used."}, "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["identity-properties"], "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "required": true, "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.sku", "options": ["sku"], "required": true, "group": "JobResource", "help": {"short": "The sku type."}, "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["name"], "required": true, "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_create", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "@DataAccountDetails_create.ManagedDisk", "value": "ManagedDisk"}, {"arg": "@DataAccountDetails_create.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "@DataAccountDetails_create.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "@DataAccountDetails_create.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "@DataAccountDetails_create.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "@DataAccountDetails_create.StorageAccount.storageAccountId", "required": true}]}], "cls": "DataAccountDetails_create"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "arg": "$jobResource.properties.details.keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$jobResource.sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"nullable": true, "type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "help": {"short": "Notification is required or not."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "help": {"short": "Return package shipping details."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"nullable": true, "type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"nullable": true, "type": "object", "args": [{"type": "@DataAccountDetails_update", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "help": {"short": "Account details of the data to be transferred"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "help": {"short": "Configuration for the data transfer."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "help": {"short": "Type of the account of data"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"nullable": true, "type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "help": {"short": "Type of the account of data."}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "@DataAccountDetails_update.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "@DataAccountDetails_update.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "@DataAccountDetails_update.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "@DataAccountDetails_update.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "@DataAccountDetails_update.StorageAccount.storageAccountId", "options": ["storage-account-id"], "help": {"short": "Storage Account Resource Id."}}]}], "cls": "DataAccountDetails_update"}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"nullable": true, "type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "hide": true, "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey", "options": ["key-encryption-key"], "group": "Details", "help": {"short": "Details about which key encryption type is being used."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["identity-properties"], "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "help": {"short": "Type of encryption key used for key encryption."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "@TransportPreferences_update", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"nullable": true, "type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "help": {"short": "Name of the Country."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"nullable": true, "type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "help": {"short": "Street Address line 1."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResource", "args": [{"nullable": true, "type": "object", "var": "$jobResource.identity", "options": ["identity"], "hide": true, "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}}, {"nullable": true, "type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResource.sku", "options": ["sku"], "hide": true, "group": "JobResource", "help": {"short": "The sku type."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "help": {"short": "The display name of the sku."}}, {"nullable": true, "type": "string", "var": "$jobResource.sku.family", "options": ["family"], "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["name"], "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}, {"nullable": true, "type": "object", "var": "$jobResource.tags", "options": ["tags"], "hide": true, "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"nullable": true, "type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "hide": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "JobResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_update", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "@DataAccountDetails_update.ManagedDisk", "value": "ManagedDisk"}, {"arg": "@DataAccountDetails_update.StorageAccount", "value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "@DataAccountDetails_update.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "@DataAccountDetails_update.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "@DataAccountDetails_update.StorageAccount.storageAccountId", "required": true}]}], "cls": "DataAccountDetails_update"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "arg": "$jobResource.properties.details.keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$jobResource.sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@JobResource_read"}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml new file mode 100644 index 000000000..2639983f6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml @@ -0,0 +1,4462 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.json new file mode 100644 index 000000000..803b2b808 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/cancel", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9jYW5jZWw=/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "cancel", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/cancel", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9jYW5jZWw=/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "CancellationReason", "args": [{"type": "string", "var": "$cancellationReason.reason", "options": ["reason"], "required": true, "group": "CancellationReason", "help": {"short": "Reason for cancellation."}}]}], "operations": [{"operationId": "Jobs_Cancel", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/cancel", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "cancellationReason", "required": true, "props": [{"type": "string", "name": "reason", "arg": "$cancellationReason.reason", "required": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.xml new file mode 100644 index 000000000..b0b8a4c69 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.xml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbGlzdGNyZWRlbnRpYWxz/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbGlzdGNyZWRlbnRpYWxz/2022-12-01.json new file mode 100644 index 000000000..195e85a1b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbGlzdGNyZWRlbnRpYWxz/2022-12-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/listcredentials", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9saXN0Q3JlZGVudGlhbHM=/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "list-credential", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/listcredentials", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9saXN0Q3JlZGVudGlhbHM=/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Jobs_ListCredentials", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/listCredentials", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "jobName"}, {"type": "object", "name": "jobSecrets", "props": [{"type": "object", "name": "dcAccessSecurityCode", "props": [{"type": "string", "name": "forwardDCAccessCode"}, {"type": "string", "name": "reverseDCAccessCode"}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"type": "string", "name": "jobSecretsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "jobSecretsType", "value": "DataBox", "props": [{"type": "array", "name": "podSecrets", "item": {"type": "object", "props": [{"readOnly": true, "type": "array<@AccountCredentialDetails_read>", "name": "accountCredentialDetails", "item": {"type": "@AccountCredentialDetails_read"}}, {"readOnly": true, "type": "string", "name": "devicePassword"}, {"readOnly": true, "type": "string", "name": "deviceSerialNumber"}, {"readOnly": true, "type": "string", "name": "encodedValidationCertPubKey"}, {"readOnly": true, "type": "array<@ApplianceNetworkConfiguration_read>", "name": "networkConfigurations", "item": {"type": "@ApplianceNetworkConfiguration_read"}}]}}]}, {"property": "jobSecretsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "carrierAccountNumber", "secret": true}, {"readOnly": true, "type": "array", "name": "diskSecrets", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "bitLockerKey"}, {"readOnly": true, "type": "string", "name": "diskSerialNumber"}], "cls": "DiskSecret_read"}}]}, {"property": "jobSecretsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array<@DiskSecret_read>", "name": "diskSecrets", "item": {"type": "@DiskSecret_read"}}, {"readOnly": true, "type": "boolean", "name": "isPasskeyUserDefined"}, {"readOnly": true, "type": "string", "name": "passKey"}]}, {"property": "jobSecretsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "cabinetPodSecrets", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "accountCredentialDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountConnectionString"}, {"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "array", "name": "shareCredentialDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "password"}, {"readOnly": true, "type": "string", "name": "shareName"}, {"readOnly": true, "type": "string", "name": "shareType", "enum": {"items": [{"value": "AzureFile"}, {"value": "BlockBlob"}, {"value": "HCS"}, {"value": "ManagedDisk"}, {"value": "PageBlob"}, {"value": "UnknownType"}]}}, {"readOnly": true, "type": "array", "name": "supportedAccessProtocols", "item": {"type": "string", "enum": {"items": [{"value": "NFS"}, {"value": "SMB"}]}}}, {"readOnly": true, "type": "string", "name": "userName"}]}}], "cls": "AccountCredentialDetails_read"}}, {"readOnly": true, "type": "string", "name": "devicePassword"}, {"readOnly": true, "type": "string", "name": "deviceSerialNumber"}, {"readOnly": true, "type": "string", "name": "encodedValidationCertPubKey"}, {"readOnly": true, "type": "array", "name": "networkConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "macAddress"}, {"readOnly": true, "type": "string", "name": "name"}], "cls": "ApplianceNetworkConfiguration_read"}}]}}]}]}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbGlzdGNyZWRlbnRpYWxz/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbGlzdGNyZWRlbnRpYWxz/2022-12-01.xml new file mode 100644 index 000000000..465ff9065 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbGlzdGNyZWRlbnRpYWxz/2022-12-01.xml @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 24dbef1f8cd9c8f0b34527c1048aedaa762420a6 Mon Sep 17 00:00:00 2001 From: Jing-song <37168047+Jing-song@users.noreply.github.com> Date: Wed, 10 May 2023 18:23:03 +0800 Subject: [PATCH 02/13] databox --- Commands/databox/job/_update.md | 2 +- Commands/databox/job/readme.md | 2 +- Commands/tree.json | 2 +- .../2022-12-01.json | 2 +- .../2022-12-01.xml | 45 +++++++++---------- 5 files changed, 26 insertions(+), 27 deletions(-) diff --git a/Commands/databox/job/_update.md b/Commands/databox/job/_update.md index 8462ebc0e..25c408cfe 100644 --- a/Commands/databox/job/_update.md +++ b/Commands/databox/job/_update.md @@ -1,6 +1,6 @@ # [Command] _databox job update_ -Update 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. +Update an existing job with the specified parameters. ## Versions diff --git a/Commands/databox/job/readme.md b/Commands/databox/job/readme.md index 81e551f15..136d70ee5 100644 --- a/Commands/databox/job/readme.md +++ b/Commands/databox/job/readme.md @@ -23,4 +23,4 @@ Manage data box job : Get information about the specified job. - [update](/Commands/databox/job/_update.md) -: Update 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. +: Update an existing job with the specified parameters. diff --git a/Commands/tree.json b/Commands/tree.json index 751001562..e40f5cb9c 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -2795,7 +2795,7 @@ }, "update": { "help": { - "short": "Update 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." + "short": "Update an existing job with the specified parameters." }, "names": [ "databox", diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json index b32e4fd4d..8a04138f6 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}, "default": {"value": false}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "required": true, "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "required": true, "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "required": true, "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "required": true, "help": {"short": "Return package shipping details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "@DataAccountDetails_create", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "@DataAccountDetails_create.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "@DataAccountDetails_create.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "@DataAccountDetails_create.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "@DataAccountDetails_create.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "@DataAccountDetails_create.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "@DataAccountDetails_create.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}], "cls": "DataAccountDetails_create"}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey", "options": ["key-encryption-key"], "group": "Details", "help": {"short": "Details about which key encryption type is being used."}, "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["identity-properties"], "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "required": true, "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.sku", "options": ["sku"], "required": true, "group": "JobResource", "help": {"short": "The sku type."}, "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["name"], "required": true, "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_create", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "@DataAccountDetails_create.ManagedDisk", "value": "ManagedDisk"}, {"arg": "@DataAccountDetails_create.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "@DataAccountDetails_create.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "@DataAccountDetails_create.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "@DataAccountDetails_create.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "@DataAccountDetails_create.StorageAccount.storageAccountId", "required": true}]}], "cls": "DataAccountDetails_create"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "arg": "$jobResource.properties.details.keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$jobResource.sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"nullable": true, "type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "help": {"short": "Notification is required or not."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "help": {"short": "Return package shipping details."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"nullable": true, "type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"nullable": true, "type": "object", "args": [{"type": "@DataAccountDetails_update", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "help": {"short": "Account details of the data to be transferred"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "help": {"short": "Configuration for the data transfer."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "help": {"short": "Type of the account of data"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"nullable": true, "type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "help": {"short": "Type of the account of data."}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "@DataAccountDetails_update.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "@DataAccountDetails_update.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "@DataAccountDetails_update.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "@DataAccountDetails_update.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "@DataAccountDetails_update.StorageAccount.storageAccountId", "options": ["storage-account-id"], "help": {"short": "Storage Account Resource Id."}}]}], "cls": "DataAccountDetails_update"}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"nullable": true, "type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "hide": true, "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey", "options": ["key-encryption-key"], "group": "Details", "help": {"short": "Details about which key encryption type is being used."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["identity-properties"], "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "help": {"short": "Type of encryption key used for key encryption."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "@TransportPreferences_update", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"nullable": true, "type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "help": {"short": "Name of the Country."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"nullable": true, "type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "help": {"short": "Street Address line 1."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResource", "args": [{"nullable": true, "type": "object", "var": "$jobResource.identity", "options": ["identity"], "hide": true, "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}}, {"nullable": true, "type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResource.sku", "options": ["sku"], "hide": true, "group": "JobResource", "help": {"short": "The sku type."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "help": {"short": "The display name of the sku."}}, {"nullable": true, "type": "string", "var": "$jobResource.sku.family", "options": ["family"], "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["name"], "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}, {"nullable": true, "type": "object", "var": "$jobResource.tags", "options": ["tags"], "hide": true, "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"nullable": true, "type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "hide": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "JobResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_update", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "@DataAccountDetails_update.ManagedDisk", "value": "ManagedDisk"}, {"arg": "@DataAccountDetails_update.StorageAccount", "value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "@DataAccountDetails_update.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "@DataAccountDetails_update.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "@DataAccountDetails_update.StorageAccount.storageAccountId", "required": true}]}], "cls": "DataAccountDetails_update"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "arg": "$jobResource.properties.details.keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$jobResource.sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@JobResource_read"}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}, "default": {"value": false}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "required": true, "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "required": true, "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "required": true, "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "required": true, "help": {"short": "Return package shipping details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "@DataAccountDetails_create", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "@DataAccountDetails_create.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "@DataAccountDetails_create.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "@DataAccountDetails_create.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "@DataAccountDetails_create.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "@DataAccountDetails_create.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "@DataAccountDetails_create.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}], "cls": "DataAccountDetails_create"}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey", "options": ["key-encryption-key"], "group": "Details", "help": {"short": "Details about which key encryption type is being used."}, "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["identity-properties"], "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "required": true, "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "hide": true, "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_create", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "@DataAccountDetails_create.ManagedDisk", "value": "ManagedDisk"}, {"arg": "@DataAccountDetails_create.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "@DataAccountDetails_create.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "@DataAccountDetails_create.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "@DataAccountDetails_create.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "@DataAccountDetails_create.StorageAccount.storageAccountId", "required": true}]}], "cls": "DataAccountDetails_create"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "arg": "$jobResource.properties.details.keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"nullable": true, "type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "help": {"short": "Notification is required or not."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "help": {"short": "Return package shipping details."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"nullable": true, "type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"nullable": true, "type": "object", "args": [{"type": "@DataAccountDetails_update", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "help": {"short": "Account details of the data to be transferred"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "help": {"short": "Configuration for the data transfer."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "help": {"short": "Type of the account of data"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"nullable": true, "type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "help": {"short": "Type of the account of data."}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "@DataAccountDetails_update.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "@DataAccountDetails_update.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "@DataAccountDetails_update.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "@DataAccountDetails_update.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "@DataAccountDetails_update.StorageAccount.storageAccountId", "options": ["storage-account-id"], "help": {"short": "Storage Account Resource Id."}}]}], "cls": "DataAccountDetails_update"}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"nullable": true, "type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "hide": true, "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey", "options": ["key-encryption-key"], "group": "Details", "help": {"short": "Details about which key encryption type is being used."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["identity-properties"], "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "help": {"short": "Type of encryption key used for key encryption."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "@TransportPreferences_update", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"nullable": true, "type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "help": {"short": "Name of the Country."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"nullable": true, "type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "help": {"short": "Street Address line 1."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResource", "args": [{"nullable": true, "type": "object", "var": "$jobResource.identity", "options": ["identity"], "hide": true, "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}}, {"nullable": true, "type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResource.sku", "options": ["sku"], "hide": true, "group": "JobResource", "help": {"short": "The sku type."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"nullable": true, "type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["name"], "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}, {"nullable": true, "type": "object", "var": "$jobResource.tags", "options": ["tags"], "hide": true, "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"nullable": true, "type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "hide": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "JobResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_update", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "@DataAccountDetails_update.ManagedDisk", "value": "ManagedDisk"}, {"arg": "@DataAccountDetails_update.StorageAccount", "value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "@DataAccountDetails_update.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "@DataAccountDetails_update.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "@DataAccountDetails_update.StorageAccount.storageAccountId", "required": true}]}], "cls": "DataAccountDetails_update"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "arg": "$jobResource.properties.details.keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$jobResource.sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@JobResource_read"}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml index 2639983f6..c668e7a85 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml @@ -1352,7 +1352,7 @@ - + @@ -1370,24 +1370,6 @@ - - - - - - - - - - - - - - - - - - @@ -1462,6 +1444,23 @@ + + + + + + + + + + + + + + + + + @@ -1794,7 +1793,7 @@ - + @@ -2701,7 +2700,7 @@ - + @@ -3096,10 +3095,10 @@ - + - + From ace2372fd41dffbee7b695f56a67bb9c31005131 Mon Sep 17 00:00:00 2001 From: Jing-song <37168047+Jing-song@users.noreply.github.com> Date: Thu, 11 May 2023 15:25:07 +0800 Subject: [PATCH 03/13] update --- Commands/databox/job/_mark-devices-shipped.md | 9 ++ Commands/databox/job/readme.md | 3 + Commands/tree.json | 22 +++ .../2022-12-01.json | 2 +- .../2022-12-01.xml | 4 +- .../2022-12-01.json | 2 +- .../2022-12-01.xml | 128 +++++++++++------- .../2022-12-01.json | 1 + .../2022-12-01.xml | 64 +++++++++ 9 files changed, 183 insertions(+), 52 deletions(-) create mode 100644 Commands/databox/job/_mark-devices-shipped.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.xml diff --git a/Commands/databox/job/_mark-devices-shipped.md b/Commands/databox/job/_mark-devices-shipped.md new file mode 100644 index 000000000..c5f47903e --- /dev/null +++ b/Commands/databox/job/_mark-devices-shipped.md @@ -0,0 +1,9 @@ +# [Command] _databox job mark-devices-shipped_ + +Request to mark devices for a given job as shipped + +## Versions + +### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.xml) **Stable** + + diff --git a/Commands/databox/job/readme.md b/Commands/databox/job/readme.md index 136d70ee5..ba67c2e90 100644 --- a/Commands/databox/job/readme.md +++ b/Commands/databox/job/readme.md @@ -19,6 +19,9 @@ Manage data box job - [list-credential](/Commands/databox/job/_list-credential.md) : This method gets the unencrypted secrets related to the job. +- [mark-devices-shipped](/Commands/databox/job/_mark-devices-shipped.md) +: Request to mark devices for a given job as shipped + - [show](/Commands/databox/job/_show.md) : Get information about the specified job. diff --git a/Commands/tree.json b/Commands/tree.json index e40f5cb9c..52643aff8 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -2771,6 +2771,28 @@ } ] }, + "mark-devices-shipped": { + "help": { + "short": "Request to mark devices for a given job as shipped" + }, + "names": [ + "databox", + "job", + "mark-devices-shipped" + ], + "versions": [ + { + "name": "2022-12-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/markdevicesshipped", + "plane": "mgmt-plane", + "version": "2022-12-01" + } + ] + } + ] + }, "show": { "help": { "short": "Get information about the specified job." diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.json index bbe608a57..37dbc4637 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icw==/V/MjAyMi0xMi0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2Jz/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "list", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icw==/V/MjAyMi0xMi0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2Jz/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.skipToken", "options": ["skip-token"], "hide": true, "group": "", "help": {"short": "$skipToken is supported on Get list of jobs, which provides the next page in the list of jobs."}}]}], "conditions": [{"var": "$Condition_Jobs_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_Jobs_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_Jobs_ListByResourceGroup"], "operationId": "Jobs_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$skipToken", "arg": "$Query.skipToken"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_Jobs_List"], "operationId": "Jobs_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/jobs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$skipToken", "arg": "$Query.skipToken"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "@PackageShippingDetails_read", "name": "deliveryPackage"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "@TransportPreferences_read", "name": "transportPreferences"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icw==/V/MjAyMi0xMi0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2Jz/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "list", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icw==/V/MjAyMi0xMi0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2Jz/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.skipToken", "options": ["skip-token"], "hide": true, "group": "", "help": {"short": "$skipToken is supported on Get list of jobs, which provides the next page in the list of jobs."}}]}], "conditions": [{"var": "$Condition_Jobs_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_Jobs_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_Jobs_ListByResourceGroup"], "operationId": "Jobs_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$skipToken", "arg": "$Query.skipToken"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_Jobs_List"], "operationId": "Jobs_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/jobs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$skipToken", "arg": "$Query.skipToken"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "@PackageShippingDetails_read", "name": "deliveryPackage"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "@TransportPreferences_read", "name": "transportPreferences"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.xml index c9ac08cd6..40bd39379 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.xml @@ -68,7 +68,7 @@ - + @@ -969,7 +969,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json index 8a04138f6..f9a3f2375 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}, "default": {"value": false}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "required": true, "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "required": true, "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "required": true, "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "required": true, "help": {"short": "Return package shipping details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "@DataAccountDetails_create", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "@DataAccountDetails_create.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "@DataAccountDetails_create.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "@DataAccountDetails_create.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "@DataAccountDetails_create.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "@DataAccountDetails_create.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "@DataAccountDetails_create.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}], "cls": "DataAccountDetails_create"}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey", "options": ["key-encryption-key"], "group": "Details", "help": {"short": "Details about which key encryption type is being used."}, "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["identity-properties"], "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "required": true, "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "hide": true, "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_create", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "@DataAccountDetails_create.ManagedDisk", "value": "ManagedDisk"}, {"arg": "@DataAccountDetails_create.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "@DataAccountDetails_create.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "@DataAccountDetails_create.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "@DataAccountDetails_create.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "@DataAccountDetails_create.StorageAccount.storageAccountId", "required": true}]}], "cls": "DataAccountDetails_create"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "arg": "$jobResource.properties.details.keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"nullable": true, "type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "help": {"short": "Notification is required or not."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "help": {"short": "Return package shipping details."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"nullable": true, "type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"nullable": true, "type": "object", "args": [{"type": "@DataAccountDetails_update", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "help": {"short": "Account details of the data to be transferred"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "help": {"short": "Configuration for the data transfer."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "help": {"short": "Type of the account of data"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"nullable": true, "type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "help": {"short": "Type of the account of data."}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "@DataAccountDetails_update.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "@DataAccountDetails_update.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "@DataAccountDetails_update.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "@DataAccountDetails_update.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "@DataAccountDetails_update.StorageAccount.storageAccountId", "options": ["storage-account-id"], "help": {"short": "Storage Account Resource Id."}}]}], "cls": "DataAccountDetails_update"}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"nullable": true, "type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "hide": true, "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey", "options": ["key-encryption-key"], "group": "Details", "help": {"short": "Details about which key encryption type is being used."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["identity-properties"], "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "help": {"short": "Type of encryption key used for key encryption."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "@TransportPreferences_update", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"nullable": true, "type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "help": {"short": "Name of the Country."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"nullable": true, "type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "help": {"short": "Street Address line 1."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResource", "args": [{"nullable": true, "type": "object", "var": "$jobResource.identity", "options": ["identity"], "hide": true, "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}}, {"nullable": true, "type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResource.sku", "options": ["sku"], "hide": true, "group": "JobResource", "help": {"short": "The sku type."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"nullable": true, "type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["name"], "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}, {"nullable": true, "type": "object", "var": "$jobResource.tags", "options": ["tags"], "hide": true, "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"nullable": true, "type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "hide": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "JobResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_update", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "@DataAccountDetails_update.ManagedDisk", "value": "ManagedDisk"}, {"arg": "@DataAccountDetails_update.StorageAccount", "value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "@DataAccountDetails_update.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "@DataAccountDetails_update.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "@DataAccountDetails_update.StorageAccount.storageAccountId", "required": true}]}], "cls": "DataAccountDetails_update"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "arg": "$jobResource.properties.details.keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$jobResource.sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@JobResource_read"}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}, "default": {"value": false}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "required": true, "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "required": true, "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "required": true, "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "required": true, "help": {"short": "Return package shipping details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "options": ["share-password"]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "options": ["share-password"]}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey", "options": ["key-encryption-key"], "group": "Details", "help": {"short": "Details about which key encryption type is being used."}, "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["identity-properties"], "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "required": true, "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "hide": true, "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "arg": "$jobResource.properties.details.keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"nullable": true, "type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "help": {"short": "Notification is required or not."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "help": {"short": "Return package shipping details."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"nullable": true, "type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"]}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"]}]}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "help": {"short": "Configuration for the data transfer."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "help": {"short": "Type of the account of data"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"nullable": true, "type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "help": {"short": "Type of the account of data."}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"]}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"]}]}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"nullable": true, "type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "hide": true, "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey", "options": ["key-encryption-key"], "group": "Details", "help": {"short": "Details about which key encryption type is being used."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["identity-properties"], "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "help": {"short": "Type of encryption key used for key encryption."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "@TransportPreferences_update", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"nullable": true, "type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "help": {"short": "Name of the Country."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"nullable": true, "type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "help": {"short": "Street Address line 1."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResource", "args": [{"nullable": true, "type": "object", "var": "$jobResource.identity", "options": ["identity"], "hide": true, "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}}, {"nullable": true, "type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResource.sku", "options": ["sku"], "hide": true, "group": "JobResource", "help": {"short": "The sku type."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"nullable": true, "type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["name"], "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}, {"nullable": true, "type": "object", "var": "$jobResource.tags", "options": ["tags"], "hide": true, "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"nullable": true, "type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "hide": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "JobResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "arg": "$jobResource.properties.details.keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$jobResource.sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@JobResource_read"}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml index c668e7a85..34617b129 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml @@ -1071,11 +1071,19 @@ - + - + + + + + + + + + @@ -1176,27 +1184,19 @@ - + - + - - - - - - - + + + - - - - - - - + + + @@ -1533,7 +1533,23 @@ - + + + + + + + + + + + + + + + + + @@ -1610,21 +1626,21 @@ - + - - + + - + - - + + - + @@ -2808,11 +2824,18 @@ - + - + + + + + + + + @@ -2910,23 +2933,17 @@ - + - + - - - - - - - + + + - - - - + + @@ -4138,7 +4155,22 @@ - + + + + + + + + + + + + + + + + @@ -4215,20 +4247,20 @@ - + - - + + - - + + - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.json new file mode 100644 index 000000000..3d6875427 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/markdevicesshipped", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9tYXJrRGV2aWNlc1NoaXBwZWQ=/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "mark-devices-shipped", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/markdevicesshipped", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9tYXJrRGV2aWNlc1NoaXBwZWQ=/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "MarkDevicesShippedRequest", "args": [{"type": "object", "var": "$markDevicesShippedRequest.deliverToDcPackageDetails", "options": ["deliver-to-dc-package-details"], "required": true, "group": "MarkDevicesShippedRequest", "help": {"short": "Delivery package details"}, "args": [{"type": "string", "var": "$markDevicesShippedRequest.deliverToDcPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$markDevicesShippedRequest.deliverToDcPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}], "operations": [{"operationId": "Jobs_MarkDevicesShipped", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/markDevicesShipped", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "markDevicesShippedRequest", "required": true, "props": [{"type": "object", "name": "deliverToDcPackageDetails", "arg": "$markDevicesShippedRequest.deliverToDcPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierName", "arg": "$markDevicesShippedRequest.deliverToDcPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$markDevicesShippedRequest.deliverToDcPackageDetails.trackingId"}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.xml new file mode 100644 index 000000000..f07431f02 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.xml @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 1f94655d2e8aab62f94a9c87db478ae028c33379 Mon Sep 17 00:00:00 2001 From: Jing-song <37168047+Jing-song@users.noreply.github.com> Date: Fri, 12 May 2023 17:46:21 +0800 Subject: [PATCH 04/13] update --- .../2022-12-01.json | 2 +- .../2022-12-01.xml | 128 +++++++++--------- 2 files changed, 64 insertions(+), 66 deletions(-) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json index f9a3f2375..e548042a1 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}, "default": {"value": false}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "required": true, "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "required": true, "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "required": true, "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "required": true, "help": {"short": "Return package shipping details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "options": ["share-password"]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "options": ["share-password"]}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey", "options": ["key-encryption-key"], "group": "Details", "help": {"short": "Details about which key encryption type is being used."}, "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["identity-properties"], "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "required": true, "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "hide": true, "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "arg": "$jobResource.properties.details.keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"nullable": true, "type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "help": {"short": "Notification is required or not."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "help": {"short": "Return package shipping details."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"nullable": true, "type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"]}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"]}]}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "help": {"short": "Configuration for the data transfer."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "help": {"short": "Type of the account of data"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"nullable": true, "type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "help": {"short": "Type of the account of data."}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"]}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"]}]}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"nullable": true, "type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "hide": true, "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey", "options": ["key-encryption-key"], "group": "Details", "help": {"short": "Details about which key encryption type is being used."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["identity-properties"], "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "help": {"short": "Type of encryption key used for key encryption."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "@TransportPreferences_update", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"nullable": true, "type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "help": {"short": "Name of the Country."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"nullable": true, "type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "help": {"short": "Street Address line 1."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResource", "args": [{"nullable": true, "type": "object", "var": "$jobResource.identity", "options": ["identity"], "hide": true, "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}}, {"nullable": true, "type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResource.sku", "options": ["sku"], "hide": true, "group": "JobResource", "help": {"short": "The sku type."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"nullable": true, "type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["name"], "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}, {"nullable": true, "type": "object", "var": "$jobResource.tags", "options": ["tags"], "hide": true, "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"nullable": true, "type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "hide": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "JobResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "arg": "$jobResource.properties.details.keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$jobResource.sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@JobResource_read"}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}, "default": {"value": false}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "required": true, "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "required": true, "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "required": true, "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "required": true, "help": {"short": "Return package shipping details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "options": ["share-password"]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount"}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "options": ["share-password"]}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "hide": true, "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["identity-properties"], "hide": true, "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "hide": true, "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "hide": true, "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"nullable": true, "type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "help": {"short": "Notification is required or not."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "help": {"short": "Return package shipping details."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"nullable": true, "type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"]}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"]}]}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "help": {"short": "Configuration for the data transfer."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "help": {"short": "Type of the account of data"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"nullable": true, "type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "help": {"short": "Type of the account of data."}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"]}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "group": "StorageAccount"}]}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"nullable": true, "type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "hide": true, "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "@TransportPreferences_update", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"nullable": true, "type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "help": {"short": "Name of the Country."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"nullable": true, "type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "help": {"short": "Street Address line 1."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResource", "args": [{"nullable": true, "type": "object", "var": "$jobResource.identity", "options": ["identity"], "hide": true, "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}}, {"nullable": true, "type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResource.sku", "options": ["sku"], "hide": true, "group": "JobResource", "help": {"short": "The sku type."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"nullable": true, "type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["name"], "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}, {"nullable": true, "type": "object", "var": "$jobResource.tags", "options": ["tags"], "hide": true, "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["identity-properties"], "hide": true, "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "hide": true, "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "hide": true, "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"nullable": true, "type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "hide": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "JobResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$jobResource.sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@JobResource_read"}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml index 34617b129..fa60f6a41 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml @@ -1071,7 +1071,7 @@ - + @@ -1184,7 +1184,7 @@ - + @@ -1194,7 +1194,7 @@ - + @@ -1211,35 +1211,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1377,6 +1348,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1661,7 +1660,7 @@ - + @@ -2824,7 +2823,7 @@ - + @@ -2933,7 +2932,7 @@ - + @@ -2943,7 +2942,7 @@ - + @@ -2958,34 +2957,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -3135,6 +3106,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -4281,7 +4279,7 @@ - + From 525d1500dd29233b62ea090eae27a81da9706dcc Mon Sep 17 00:00:00 2001 From: Jing-song <37168047+Jing-song@users.noreply.github.com> Date: Mon, 15 May 2023 16:22:28 +0800 Subject: [PATCH 05/13] update --- .../2022-12-01.json | 2 +- .../2022-12-01.xml | 70 +++++++++++++------ .../2022-12-01.json | 2 +- .../2022-12-01.xml | 2 +- 4 files changed, 52 insertions(+), 24 deletions(-) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json index e548042a1..8aa52e68c 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}, "default": {"value": false}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "required": true, "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "required": true, "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "required": true, "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "required": true, "help": {"short": "Return package shipping details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "options": ["share-password"]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount"}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "options": ["share-password"]}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "hide": true, "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["identity-properties"], "hide": true, "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "hide": true, "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "hide": true, "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"nullable": true, "type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "help": {"short": "Notification is required or not."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "help": {"short": "Return package shipping details."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"nullable": true, "type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"]}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"]}]}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "help": {"short": "Configuration for the data transfer."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "help": {"short": "Type of the account of data"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"nullable": true, "type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "help": {"short": "Type of the account of data."}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"]}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "group": "StorageAccount"}]}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"nullable": true, "type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "hide": true, "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "@TransportPreferences_update", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"nullable": true, "type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "help": {"short": "Name of the Country."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"nullable": true, "type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "help": {"short": "Street Address line 1."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResource", "args": [{"nullable": true, "type": "object", "var": "$jobResource.identity", "options": ["identity"], "hide": true, "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}}, {"nullable": true, "type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResource.sku", "options": ["sku"], "hide": true, "group": "JobResource", "help": {"short": "The sku type."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"nullable": true, "type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["name"], "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}, {"nullable": true, "type": "object", "var": "$jobResource.tags", "options": ["tags"], "hide": true, "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["identity-properties"], "hide": true, "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "hide": true, "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "hide": true, "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"nullable": true, "type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "hide": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "JobResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$jobResource.sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@JobResource_read"}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}, "default": {"value": false}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "required": true, "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "required": true, "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "required": true, "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "required": true, "help": {"short": "Return package shipping details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"nullable": true, "type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "help": {"short": "Notification is required or not."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "help": {"short": "Return package shipping details."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"nullable": true, "type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "help": {"short": "Storage Account Resource Id."}}]}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "help": {"short": "Configuration for the data transfer."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "help": {"short": "Type of the account of data"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"nullable": true, "type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "help": {"short": "Type of the account of data."}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"nullable": true, "type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "hide": true, "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "@TransportPreferences_update", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"nullable": true, "type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "help": {"short": "Name of the Country."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"nullable": true, "type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "help": {"short": "Street Address line 1."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResource", "args": [{"nullable": true, "type": "object", "var": "$jobResource.identity", "options": ["identity"], "hide": true, "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}}, {"nullable": true, "type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResource.sku", "options": ["sku"], "hide": true, "group": "JobResource", "help": {"short": "The sku type."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"nullable": true, "type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["name"], "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}, {"nullable": true, "type": "object", "var": "$jobResource.tags", "options": ["tags"], "hide": true, "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"nullable": true, "type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "hide": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "JobResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$jobResource.sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@JobResource_read"}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml index fa60f6a41..d4f855d05 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml @@ -1077,13 +1077,21 @@ - - + + + + + + - + + + + + + - @@ -1190,13 +1198,21 @@ - - + + + + + + - + + + + + + - @@ -1323,7 +1339,7 @@ - + @@ -1349,7 +1365,7 @@ - + @@ -1369,10 +1385,10 @@ - + - + @@ -2829,11 +2845,17 @@ - - + + + + + + - + + + @@ -2938,11 +2960,17 @@ - - + + + + + + - + + + @@ -3107,7 +3135,7 @@ - + @@ -3126,10 +3154,10 @@ - + - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.json index 3d6875427..f0f951fcb 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/markdevicesshipped", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9tYXJrRGV2aWNlc1NoaXBwZWQ=/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "mark-devices-shipped", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/markdevicesshipped", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9tYXJrRGV2aWNlc1NoaXBwZWQ=/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "MarkDevicesShippedRequest", "args": [{"type": "object", "var": "$markDevicesShippedRequest.deliverToDcPackageDetails", "options": ["deliver-to-dc-package-details"], "required": true, "group": "MarkDevicesShippedRequest", "help": {"short": "Delivery package details"}, "args": [{"type": "string", "var": "$markDevicesShippedRequest.deliverToDcPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$markDevicesShippedRequest.deliverToDcPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}], "operations": [{"operationId": "Jobs_MarkDevicesShipped", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/markDevicesShipped", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "markDevicesShippedRequest", "required": true, "props": [{"type": "object", "name": "deliverToDcPackageDetails", "arg": "$markDevicesShippedRequest.deliverToDcPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierName", "arg": "$markDevicesShippedRequest.deliverToDcPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$markDevicesShippedRequest.deliverToDcPackageDetails.trackingId"}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/markdevicesshipped", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9tYXJrRGV2aWNlc1NoaXBwZWQ=/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "mark-devices-shipped", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/markdevicesshipped", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9tYXJrRGV2aWNlc1NoaXBwZWQ=/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "MarkDevicesShippedRequest", "args": [{"type": "object", "var": "$markDevicesShippedRequest.deliverToDcPackageDetails", "options": ["deliver-package-details"], "required": true, "group": "MarkDevicesShippedRequest", "help": {"short": "Delivery package details"}, "args": [{"type": "string", "var": "$markDevicesShippedRequest.deliverToDcPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$markDevicesShippedRequest.deliverToDcPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}], "operations": [{"operationId": "Jobs_MarkDevicesShipped", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/markDevicesShipped", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "markDevicesShippedRequest", "required": true, "props": [{"type": "object", "name": "deliverToDcPackageDetails", "arg": "$markDevicesShippedRequest.deliverToDcPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierName", "arg": "$markDevicesShippedRequest.deliverToDcPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$markDevicesShippedRequest.deliverToDcPackageDetails.trackingId"}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.xml index f07431f02..379617554 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.xml @@ -13,7 +13,7 @@ - + From 150266ab3504b90ba6583f09a8a3b188bfc5665e Mon Sep 17 00:00:00 2001 From: Jing-song <37168047+Jing-song@users.noreply.github.com> Date: Mon, 15 May 2023 19:19:04 +0800 Subject: [PATCH 06/13] update --- Commands/databox/job/_cancel.md | 7 + Commands/databox/job/_create.md | 7 + Commands/databox/job/_delete.md | 7 + Commands/databox/job/_list-credential.md | 7 + Commands/databox/job/_list.md | 7 + Commands/databox/job/_mark-devices-shipped.md | 7 + Commands/databox/job/_show.md | 7 + Commands/databox/job/_update.md | 9 +- Commands/databox/job/readme.md | 2 +- Commands/tree.json | 66 +- .../2022-12-01.json | 2 +- .../2022-12-01.xml | 968 +++++------------- .../2022-12-01.json | 2 +- .../2022-12-01.xml | 2 +- .../2022-12-01.json | 2 +- .../2022-12-01.xml | 2 +- .../2022-12-01.json | 2 +- .../2022-12-01.xml | 2 +- 18 files changed, 395 insertions(+), 713 deletions(-) diff --git a/Commands/databox/job/_cancel.md b/Commands/databox/job/_cancel.md index 45194b61a..cb4f26c67 100644 --- a/Commands/databox/job/_cancel.md +++ b/Commands/databox/job/_cancel.md @@ -7,3 +7,10 @@ CancelJob. ### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.xml) **Stable** + +#### examples + +- Cancel job + ```bash + databox job cancel -g rg --job-name name --reason reason + ``` diff --git a/Commands/databox/job/_create.md b/Commands/databox/job/_create.md index fe3d39dae..ead180fa2 100644 --- a/Commands/databox/job/_create.md +++ b/Commands/databox/job/_create.md @@ -7,3 +7,10 @@ Create a new job with the specified parameters. ### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml) **Stable** + +#### examples + +- Create job + ```bash + databox job create -g rg -n job-name --sku databox --contact-name 'test' --phone 14258828080 --email-list testing@microsoft.com --street-address1 "1 MICROSOFT WAY" --city Redmond --state-or-province WA --country US --postal-code 98052 --company-name Microsoft --storage-account account-id --staging-storage-account account-id --resource-group-for-managed-disk rg --transfer-type ImportToAzure --kek-type MicrosoftManaged + ``` diff --git a/Commands/databox/job/_delete.md b/Commands/databox/job/_delete.md index c671401b6..cae39244f 100644 --- a/Commands/databox/job/_delete.md +++ b/Commands/databox/job/_delete.md @@ -7,3 +7,10 @@ Delete a job. ### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml) **Stable** + +#### examples + +- Delete job + ```bash + databox job delete -n job-name -g rg -y + ``` diff --git a/Commands/databox/job/_list-credential.md b/Commands/databox/job/_list-credential.md index a7d168771..29d0d9b07 100644 --- a/Commands/databox/job/_list-credential.md +++ b/Commands/databox/job/_list-credential.md @@ -7,3 +7,10 @@ This method gets the unencrypted secrets related to the job. ### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbGlzdGNyZWRlbnRpYWxz/2022-12-01.xml) **Stable** + +#### examples + +- List credential + ```bash + databox job list-credential -g rg -n job-name + ``` diff --git a/Commands/databox/job/_list.md b/Commands/databox/job/_list.md index c07fa3f01..20f54e36f 100644 --- a/Commands/databox/job/_list.md +++ b/Commands/databox/job/_list.md @@ -8,3 +8,10 @@ List all the jobs available under the subscription. + +#### examples + +- List job by resource group + ```bash + databox job list -g rg + ``` diff --git a/Commands/databox/job/_mark-devices-shipped.md b/Commands/databox/job/_mark-devices-shipped.md index c5f47903e..e5775bda4 100644 --- a/Commands/databox/job/_mark-devices-shipped.md +++ b/Commands/databox/job/_mark-devices-shipped.md @@ -7,3 +7,10 @@ Request to mark devices for a given job as shipped ### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.xml) **Stable** + +#### examples + +- Mark devices shipped + ```bash + databox job mark-devices-shipped -g rg -n job-name + ``` diff --git a/Commands/databox/job/_show.md b/Commands/databox/job/_show.md index 7451d258a..37564bb08 100644 --- a/Commands/databox/job/_show.md +++ b/Commands/databox/job/_show.md @@ -7,3 +7,10 @@ Get information about the specified job. ### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml) **Stable** + +#### examples + +- Show job + ```bash + databox job show -g rg -n job-name + ``` diff --git a/Commands/databox/job/_update.md b/Commands/databox/job/_update.md index 25c408cfe..d2001a338 100644 --- a/Commands/databox/job/_update.md +++ b/Commands/databox/job/_update.md @@ -1,9 +1,16 @@ # [Command] _databox job update_ -Update an existing job with the specified parameters. +Update the properties of an existing job. ## Versions ### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml) **Stable** + +#### examples + +- Update job + ```bash + databox job update -g rg -n job-name --contact-name 'name --email-list email --phone phone-number + ``` diff --git a/Commands/databox/job/readme.md b/Commands/databox/job/readme.md index ba67c2e90..345b24e6d 100644 --- a/Commands/databox/job/readme.md +++ b/Commands/databox/job/readme.md @@ -26,4 +26,4 @@ Manage data box job : Get information about the specified job. - [update](/Commands/databox/job/_update.md) -: Update an existing job with the specified parameters. +: Update the properties of an existing job. diff --git a/Commands/tree.json b/Commands/tree.json index 52643aff8..1259d123e 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -2667,6 +2667,14 @@ ], "versions": [ { + "examples": [ + { + "commands": [ + "databox job cancel -g rg --job-name name --reason reason" + ], + "name": "Cancel job" + } + ], "name": "2022-12-01", "resources": [ { @@ -2689,6 +2697,14 @@ ], "versions": [ { + "examples": [ + { + "commands": [ + "databox job create -g rg -n job-name --sku databox --contact-name 'test' --phone 14258828080 --email-list testing@microsoft.com --street-address1 \"1 MICROSOFT WAY\" --city Redmond --state-or-province WA --country US --postal-code 98052 --company-name Microsoft --storage-account account-id --staging-storage-account account-id --resource-group-for-managed-disk rg --transfer-type ImportToAzure --kek-type MicrosoftManaged" + ], + "name": "Create job" + } + ], "name": "2022-12-01", "resources": [ { @@ -2711,6 +2727,14 @@ ], "versions": [ { + "examples": [ + { + "commands": [ + "databox job delete -n job-name -g rg -y" + ], + "name": "Delete job" + } + ], "name": "2022-12-01", "resources": [ { @@ -2733,6 +2757,14 @@ ], "versions": [ { + "examples": [ + { + "commands": [ + "databox job list -g rg" + ], + "name": "List job by resource group" + } + ], "name": "2022-12-01", "resources": [ { @@ -2760,6 +2792,14 @@ ], "versions": [ { + "examples": [ + { + "commands": [ + "databox job list-credential -g rg -n job-name" + ], + "name": "List credential" + } + ], "name": "2022-12-01", "resources": [ { @@ -2782,6 +2822,14 @@ ], "versions": [ { + "examples": [ + { + "commands": [ + "databox job mark-devices-shipped -g rg -n job-name" + ], + "name": "Mark devices shipped" + } + ], "name": "2022-12-01", "resources": [ { @@ -2804,6 +2852,14 @@ ], "versions": [ { + "examples": [ + { + "commands": [ + "databox job show -g rg -n job-name" + ], + "name": "Show job" + } + ], "name": "2022-12-01", "resources": [ { @@ -2817,7 +2873,7 @@ }, "update": { "help": { - "short": "Update an existing job with the specified parameters." + "short": "Update the properties of an existing job." }, "names": [ "databox", @@ -2826,6 +2882,14 @@ ], "versions": [ { + "examples": [ + { + "commands": [ + "databox job update -g rg -n job-name --contact-name 'name --email-list email --phone phone-number" + ], + "name": "Update job" + } + ], "name": "2022-12-01", "resources": [ { diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json index 8aa52e68c..fe3e3a8ce 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}, "default": {"value": false}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "required": true, "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "required": true, "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "required": true, "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "required": true, "help": {"short": "Return package shipping details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"nullable": true, "type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "help": {"short": "Notification is required or not."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "help": {"short": "Return package shipping details."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"nullable": true, "type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "help": {"short": "Storage Account Resource Id."}}]}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "help": {"short": "Configuration for the data transfer."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "help": {"short": "Type of the account of data"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"nullable": true, "type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "help": {"short": "Type of the account of data."}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"nullable": true, "type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "hide": true, "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "@TransportPreferences_update", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"nullable": true, "type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"nullable": true, "type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "help": {"short": "Name of the Country."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"nullable": true, "type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "help": {"short": "Street Address line 1."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"nullable": true, "type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResource", "args": [{"nullable": true, "type": "object", "var": "$jobResource.identity", "options": ["identity"], "hide": true, "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}}, {"nullable": true, "type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResource.sku", "options": ["sku"], "hide": true, "group": "JobResource", "help": {"short": "The sku type."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"nullable": true, "type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["name"], "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}, {"nullable": true, "type": "object", "var": "$jobResource.tags", "options": ["tags"], "hide": true, "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"nullable": true, "type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"nullable": true, "type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"nullable": true, "type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "hide": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"nullable": true, "type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"nullable": true, "type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "JobResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$jobResource.sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@JobResource_read"}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}, "default": {"value": false}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "required": true, "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "required": true, "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "required": true, "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "required": true, "help": {"short": "Return package shipping details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "hide": true, "group": "", "help": {"short": "Defines the If-Match condition. The patch will be performed only if the ETag of the job on the server matches this value."}}, {"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences related to the order"}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "var": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "hide": true, "group": "Details", "help": {"short": "Return package details of job."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Reverse Shipping Address and contact details for a job."}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResourceUpdateParameter", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.identity", "options": ["identity"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.tags", "options": ["tags"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResourceUpdateParameter", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResourceUpdateParameter.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension"}]}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode"}]}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$jobResourceUpdateParameter.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml index d4f855d05..05b0367cc 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml @@ -2731,9 +2731,12 @@ - + + + + @@ -2742,23 +2745,24 @@ - + - + - + - + - + - - + + + - + @@ -2773,230 +2777,27 @@ - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - + + - + @@ -3004,24 +2805,24 @@ - + - + - + - + - + - + - + @@ -3030,205 +2831,181 @@ - - - + + + + + + + + + + + + + + + - + - + - + - + - - + + + - + - + - + - + - + - + - + - + - + - + - + - - + + - + + - + - + - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - + + - + - + - + - + - + - + - + - + - + - + - + - + + - + @@ -3241,11 +3018,179 @@ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- + @@ -4116,394 +4061,11 @@ - - - - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +
+ +
- diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.json index 803b2b808..b92a29dff 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/cancel", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9jYW5jZWw=/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "cancel", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/cancel", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9jYW5jZWw=/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "CancellationReason", "args": [{"type": "string", "var": "$cancellationReason.reason", "options": ["reason"], "required": true, "group": "CancellationReason", "help": {"short": "Reason for cancellation."}}]}], "operations": [{"operationId": "Jobs_Cancel", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/cancel", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "cancellationReason", "required": true, "props": [{"type": "string", "name": "reason", "arg": "$cancellationReason.reason", "required": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/cancel", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9jYW5jZWw=/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "cancel", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/cancel", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9jYW5jZWw=/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "CancellationReason", "args": [{"type": "string", "var": "$cancellationReason.reason", "options": ["reason"], "required": true, "group": "CancellationReason", "help": {"short": "Reason for cancellation."}}]}], "operations": [{"operationId": "Jobs_Cancel", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/cancel", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "cancellationReason", "required": true, "props": [{"type": "string", "name": "reason", "arg": "$cancellationReason.reason", "required": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.xml index b0b8a4c69..1a83f95c3 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.xml @@ -5,7 +5,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbGlzdGNyZWRlbnRpYWxz/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbGlzdGNyZWRlbnRpYWxz/2022-12-01.json index 195e85a1b..ec280b04f 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbGlzdGNyZWRlbnRpYWxz/2022-12-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbGlzdGNyZWRlbnRpYWxz/2022-12-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/listcredentials", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9saXN0Q3JlZGVudGlhbHM=/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "list-credential", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/listcredentials", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9saXN0Q3JlZGVudGlhbHM=/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Jobs_ListCredentials", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/listCredentials", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "jobName"}, {"type": "object", "name": "jobSecrets", "props": [{"type": "object", "name": "dcAccessSecurityCode", "props": [{"type": "string", "name": "forwardDCAccessCode"}, {"type": "string", "name": "reverseDCAccessCode"}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"type": "string", "name": "jobSecretsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "jobSecretsType", "value": "DataBox", "props": [{"type": "array", "name": "podSecrets", "item": {"type": "object", "props": [{"readOnly": true, "type": "array<@AccountCredentialDetails_read>", "name": "accountCredentialDetails", "item": {"type": "@AccountCredentialDetails_read"}}, {"readOnly": true, "type": "string", "name": "devicePassword"}, {"readOnly": true, "type": "string", "name": "deviceSerialNumber"}, {"readOnly": true, "type": "string", "name": "encodedValidationCertPubKey"}, {"readOnly": true, "type": "array<@ApplianceNetworkConfiguration_read>", "name": "networkConfigurations", "item": {"type": "@ApplianceNetworkConfiguration_read"}}]}}]}, {"property": "jobSecretsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "carrierAccountNumber", "secret": true}, {"readOnly": true, "type": "array", "name": "diskSecrets", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "bitLockerKey"}, {"readOnly": true, "type": "string", "name": "diskSerialNumber"}], "cls": "DiskSecret_read"}}]}, {"property": "jobSecretsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array<@DiskSecret_read>", "name": "diskSecrets", "item": {"type": "@DiskSecret_read"}}, {"readOnly": true, "type": "boolean", "name": "isPasskeyUserDefined"}, {"readOnly": true, "type": "string", "name": "passKey"}]}, {"property": "jobSecretsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "cabinetPodSecrets", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "accountCredentialDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountConnectionString"}, {"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "array", "name": "shareCredentialDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "password"}, {"readOnly": true, "type": "string", "name": "shareName"}, {"readOnly": true, "type": "string", "name": "shareType", "enum": {"items": [{"value": "AzureFile"}, {"value": "BlockBlob"}, {"value": "HCS"}, {"value": "ManagedDisk"}, {"value": "PageBlob"}, {"value": "UnknownType"}]}}, {"readOnly": true, "type": "array", "name": "supportedAccessProtocols", "item": {"type": "string", "enum": {"items": [{"value": "NFS"}, {"value": "SMB"}]}}}, {"readOnly": true, "type": "string", "name": "userName"}]}}], "cls": "AccountCredentialDetails_read"}}, {"readOnly": true, "type": "string", "name": "devicePassword"}, {"readOnly": true, "type": "string", "name": "deviceSerialNumber"}, {"readOnly": true, "type": "string", "name": "encodedValidationCertPubKey"}, {"readOnly": true, "type": "array", "name": "networkConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "macAddress"}, {"readOnly": true, "type": "string", "name": "name"}], "cls": "ApplianceNetworkConfiguration_read"}}]}}]}]}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/listcredentials", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9saXN0Q3JlZGVudGlhbHM=/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "list-credential", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/listcredentials", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9saXN0Q3JlZGVudGlhbHM=/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Jobs_ListCredentials", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/listCredentials", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "jobName"}, {"type": "object", "name": "jobSecrets", "props": [{"type": "object", "name": "dcAccessSecurityCode", "props": [{"type": "string", "name": "forwardDCAccessCode"}, {"type": "string", "name": "reverseDCAccessCode"}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"type": "string", "name": "jobSecretsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "jobSecretsType", "value": "DataBox", "props": [{"type": "array", "name": "podSecrets", "item": {"type": "object", "props": [{"readOnly": true, "type": "array<@AccountCredentialDetails_read>", "name": "accountCredentialDetails", "item": {"type": "@AccountCredentialDetails_read"}}, {"readOnly": true, "type": "string", "name": "devicePassword"}, {"readOnly": true, "type": "string", "name": "deviceSerialNumber"}, {"readOnly": true, "type": "string", "name": "encodedValidationCertPubKey"}, {"readOnly": true, "type": "array<@ApplianceNetworkConfiguration_read>", "name": "networkConfigurations", "item": {"type": "@ApplianceNetworkConfiguration_read"}}]}}]}, {"property": "jobSecretsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "carrierAccountNumber", "secret": true}, {"readOnly": true, "type": "array", "name": "diskSecrets", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "bitLockerKey"}, {"readOnly": true, "type": "string", "name": "diskSerialNumber"}], "cls": "DiskSecret_read"}}]}, {"property": "jobSecretsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array<@DiskSecret_read>", "name": "diskSecrets", "item": {"type": "@DiskSecret_read"}}, {"readOnly": true, "type": "boolean", "name": "isPasskeyUserDefined"}, {"readOnly": true, "type": "string", "name": "passKey"}]}, {"property": "jobSecretsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "cabinetPodSecrets", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "accountCredentialDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountConnectionString"}, {"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "array", "name": "shareCredentialDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "password"}, {"readOnly": true, "type": "string", "name": "shareName"}, {"readOnly": true, "type": "string", "name": "shareType", "enum": {"items": [{"value": "AzureFile"}, {"value": "BlockBlob"}, {"value": "HCS"}, {"value": "ManagedDisk"}, {"value": "PageBlob"}, {"value": "UnknownType"}]}}, {"readOnly": true, "type": "array", "name": "supportedAccessProtocols", "item": {"type": "string", "enum": {"items": [{"value": "NFS"}, {"value": "SMB"}]}}}, {"readOnly": true, "type": "string", "name": "userName"}]}}], "cls": "AccountCredentialDetails_read"}}, {"readOnly": true, "type": "string", "name": "devicePassword"}, {"readOnly": true, "type": "string", "name": "deviceSerialNumber"}, {"readOnly": true, "type": "string", "name": "encodedValidationCertPubKey"}, {"readOnly": true, "type": "array", "name": "networkConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "macAddress"}, {"readOnly": true, "type": "string", "name": "name"}], "cls": "ApplianceNetworkConfiguration_read"}}]}}]}]}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbGlzdGNyZWRlbnRpYWxz/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbGlzdGNyZWRlbnRpYWxz/2022-12-01.xml index 465ff9065..97fc49f23 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbGlzdGNyZWRlbnRpYWxz/2022-12-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbGlzdGNyZWRlbnRpYWxz/2022-12-01.xml @@ -5,7 +5,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.json index f0f951fcb..b0fe6f572 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/markdevicesshipped", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9tYXJrRGV2aWNlc1NoaXBwZWQ=/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "mark-devices-shipped", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/markdevicesshipped", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9tYXJrRGV2aWNlc1NoaXBwZWQ=/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "MarkDevicesShippedRequest", "args": [{"type": "object", "var": "$markDevicesShippedRequest.deliverToDcPackageDetails", "options": ["deliver-package-details"], "required": true, "group": "MarkDevicesShippedRequest", "help": {"short": "Delivery package details"}, "args": [{"type": "string", "var": "$markDevicesShippedRequest.deliverToDcPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$markDevicesShippedRequest.deliverToDcPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}], "operations": [{"operationId": "Jobs_MarkDevicesShipped", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/markDevicesShipped", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "markDevicesShippedRequest", "required": true, "props": [{"type": "object", "name": "deliverToDcPackageDetails", "arg": "$markDevicesShippedRequest.deliverToDcPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierName", "arg": "$markDevicesShippedRequest.deliverToDcPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$markDevicesShippedRequest.deliverToDcPackageDetails.trackingId"}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/markdevicesshipped", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9tYXJrRGV2aWNlc1NoaXBwZWQ=/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "mark-devices-shipped", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/markdevicesshipped", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9tYXJrRGV2aWNlc1NoaXBwZWQ=/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "MarkDevicesShippedRequest", "args": [{"type": "object", "var": "$markDevicesShippedRequest.deliverToDcPackageDetails", "options": ["deliver-package-details"], "required": true, "group": "MarkDevicesShippedRequest", "help": {"short": "Delivery package details"}, "args": [{"type": "string", "var": "$markDevicesShippedRequest.deliverToDcPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$markDevicesShippedRequest.deliverToDcPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}], "operations": [{"operationId": "Jobs_MarkDevicesShipped", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/markDevicesShipped", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "markDevicesShippedRequest", "required": true, "props": [{"type": "object", "name": "deliverToDcPackageDetails", "arg": "$markDevicesShippedRequest.deliverToDcPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierName", "arg": "$markDevicesShippedRequest.deliverToDcPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$markDevicesShippedRequest.deliverToDcPackageDetails.trackingId"}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.xml index 379617554..f38a390f7 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.xml @@ -5,7 +5,7 @@ - + From 733b15c57f74889cdff0453de0af963d3e6afa72 Mon Sep 17 00:00:00 2001 From: jing-song <37168047+Jing-song@users.noreply.github.com> Date: Tue, 16 May 2023 14:25:58 +0800 Subject: [PATCH 07/13] update --- Commands/databox/job/_cancel.md | 2 +- Commands/tree.json | 2 +- .../2022-12-01.json | 2 +- .../2022-12-01.xml | 198 +--------- .../2022-12-01.json | 2 +- .../2022-12-01.xml | 348 +----------------- .../2022-12-01.json | 2 +- .../2022-12-01.xml | 2 +- 8 files changed, 10 insertions(+), 548 deletions(-) diff --git a/Commands/databox/job/_cancel.md b/Commands/databox/job/_cancel.md index cb4f26c67..41e2b649d 100644 --- a/Commands/databox/job/_cancel.md +++ b/Commands/databox/job/_cancel.md @@ -12,5 +12,5 @@ CancelJob. - Cancel job ```bash - databox job cancel -g rg --job-name name --reason reason + databox job cancel -g rg --job-name name --reason reason -y ``` diff --git a/Commands/tree.json b/Commands/tree.json index 1259d123e..6826689f5 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -2670,7 +2670,7 @@ "examples": [ { "commands": [ - "databox job cancel -g rg --job-name name --reason reason" + "databox job cancel -g rg --job-name name --reason reason -y" ], "name": "Cancel job" } diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.json index 37dbc4637..62075632f 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icw==/V/MjAyMi0xMi0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2Jz/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "list", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icw==/V/MjAyMi0xMi0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2Jz/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.skipToken", "options": ["skip-token"], "hide": true, "group": "", "help": {"short": "$skipToken is supported on Get list of jobs, which provides the next page in the list of jobs."}}]}], "conditions": [{"var": "$Condition_Jobs_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_Jobs_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_Jobs_ListByResourceGroup"], "operationId": "Jobs_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$skipToken", "arg": "$Query.skipToken"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_Jobs_List"], "operationId": "Jobs_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/jobs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$skipToken", "arg": "$Query.skipToken"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "@PackageShippingDetails_read", "name": "deliveryPackage"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "@TransportPreferences_read", "name": "transportPreferences"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icw==/V/MjAyMi0xMi0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2Jz/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "list", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icw==/V/MjAyMi0xMi0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2Jz/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.skipToken", "options": ["skip-token"], "hide": true, "group": "", "help": {"short": "$skipToken is supported on Get list of jobs, which provides the next page in the list of jobs."}}]}], "conditions": [{"var": "$Condition_Jobs_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_Jobs_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_Jobs_ListByResourceGroup"], "operationId": "Jobs_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$skipToken", "arg": "$Query.skipToken"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_Jobs_List"], "operationId": "Jobs_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/jobs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$skipToken", "arg": "$Query.skipToken"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "@PackageShippingDetails_read", "name": "deliveryPackage"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "@TransportPreferences_read", "name": "transportPreferences"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.xml index 40bd39379..544491ee9 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.xml @@ -68,7 +68,7 @@ - + @@ -546,103 +546,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -969,7 +872,7 @@ - + @@ -1400,103 +1303,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json index fe3e3a8ce..c4536e6ce 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "data box customer disk"}, "args": [{"type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}, "default": {"value": false}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "required": true, "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "required": true, "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "required": true, "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "required": true, "help": {"short": "Return package shipping details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "hide": true, "group": "", "help": {"short": "Defines the If-Match condition. The patch will be performed only if the ETag of the job on the server matches this value."}}, {"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences related to the order"}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "var": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "hide": true, "group": "Details", "help": {"short": "Return package details of job."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Reverse Shipping Address and contact details for a job."}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResourceUpdateParameter", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.identity", "options": ["identity"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.tags", "options": ["tags"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResourceUpdateParameter", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResourceUpdateParameter.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension"}]}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode"}]}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$jobResourceUpdateParameter.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "hide": true, "group": "", "help": {"short": "Defines the If-Match condition. The patch will be performed only if the ETag of the job on the server matches this value."}}, {"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences related to the order"}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "var": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "hide": true, "group": "Details", "help": {"short": "Return package details of job."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Reverse Shipping Address and contact details for a job."}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResourceUpdateParameter", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.identity", "options": ["identity"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.tags", "options": ["tags"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResourceUpdateParameter", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResourceUpdateParameter.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension"}]}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode"}]}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$jobResourceUpdateParameter.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml index 05b0367cc..ffe91960a 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml @@ -534,103 +534,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1018,41 +921,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1671,7 +1539,7 @@ - + @@ -1786,25 +1654,6 @@ - - - - - - - - - - - - - - - - - - - @@ -2347,103 +2196,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -2946,6 +2698,7 @@ + @@ -3689,103 +3442,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.json index b92a29dff..44f68ddb2 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/cancel", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9jYW5jZWw=/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "cancel", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/cancel", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9jYW5jZWw=/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "CancellationReason", "args": [{"type": "string", "var": "$cancellationReason.reason", "options": ["reason"], "required": true, "group": "CancellationReason", "help": {"short": "Reason for cancellation."}}]}], "operations": [{"operationId": "Jobs_Cancel", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/cancel", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "cancellationReason", "required": true, "props": [{"type": "string", "name": "reason", "arg": "$cancellationReason.reason", "required": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/cancel", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9jYW5jZWw=/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "cancel", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/cancel", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfS9jYW5jZWw=/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "CancellationReason", "args": [{"type": "string", "var": "$cancellationReason.reason", "options": ["reason"], "required": true, "group": "CancellationReason", "help": {"short": "Reason for cancellation."}}]}], "operations": [{"operationId": "Jobs_Cancel", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/cancel", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "cancellationReason", "required": true, "props": [{"type": "string", "name": "reason", "arg": "$cancellationReason.reason", "required": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.xml index 1a83f95c3..522916390 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vY2FuY2Vs/2022-12-01.xml @@ -2,7 +2,7 @@ - + From a3654452dab86d5a7814f8b838e65ed9fd91008f Mon Sep 17 00:00:00 2001 From: jing-song <37168047+Jing-song@users.noreply.github.com> Date: Tue, 16 May 2023 16:06:46 +0800 Subject: [PATCH 08/13] update --- .../2022-12-01.json | 2 +- .../2022-12-01.xml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json index c4536e6ce..f530d00f1 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "hide": true, "group": "", "help": {"short": "Defines the If-Match condition. The patch will be performed only if the ETag of the job on the server matches this value."}}, {"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences related to the order"}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "var": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "hide": true, "group": "Details", "help": {"short": "Return package details of job."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Reverse Shipping Address and contact details for a job."}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResourceUpdateParameter", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.identity", "options": ["identity"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.tags", "options": ["tags"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResourceUpdateParameter", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResourceUpdateParameter.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension"}]}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode"}]}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$jobResourceUpdateParameter.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "hide": true, "group": "", "help": {"short": "Defines the If-Match condition. The patch will be performed only if the ETag of the job on the server matches this value."}}, {"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences related to the order"}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "var": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "hide": true, "group": "Details", "help": {"short": "Return package details of job."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Reverse Shipping Address and contact details for a job."}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResourceUpdateParameter", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.identity", "options": ["identity"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.tags", "options": ["tags"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResourceUpdateParameter", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResourceUpdateParameter.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension"}]}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode"}]}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$jobResourceUpdateParameter.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml index ffe91960a..918733782 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml @@ -2698,7 +2698,6 @@ - From e49825e9506444af65767dbce2e2cf2fb47444bf Mon Sep 17 00:00:00 2001 From: jing-song <37168047+Jing-song@users.noreply.github.com> Date: Wed, 17 May 2023 18:15:05 +0800 Subject: [PATCH 09/13] update --- .../2022-12-01.json | 2 +- .../2022-12-01.xml | 194 ++++++++ .../2022-12-01.json | 2 +- .../2022-12-01.xml | 461 +++++++++++++++--- 4 files changed, 598 insertions(+), 61 deletions(-) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.json index 62075632f..bbe608a57 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icw==/V/MjAyMi0xMi0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2Jz/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "list", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icw==/V/MjAyMi0xMi0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2Jz/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.skipToken", "options": ["skip-token"], "hide": true, "group": "", "help": {"short": "$skipToken is supported on Get list of jobs, which provides the next page in the list of jobs."}}]}], "conditions": [{"var": "$Condition_Jobs_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_Jobs_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_Jobs_ListByResourceGroup"], "operationId": "Jobs_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$skipToken", "arg": "$Query.skipToken"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_Jobs_List"], "operationId": "Jobs_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/jobs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$skipToken", "arg": "$Query.skipToken"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "@PackageShippingDetails_read", "name": "deliveryPackage"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "@TransportPreferences_read", "name": "transportPreferences"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icw==/V/MjAyMi0xMi0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2Jz/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "list", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icw==/V/MjAyMi0xMi0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2Jz/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.skipToken", "options": ["skip-token"], "hide": true, "group": "", "help": {"short": "$skipToken is supported on Get list of jobs, which provides the next page in the list of jobs."}}]}], "conditions": [{"var": "$Condition_Jobs_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_Jobs_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_Jobs_ListByResourceGroup"], "operationId": "Jobs_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$skipToken", "arg": "$Query.skipToken"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_Jobs_List"], "operationId": "Jobs_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/jobs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$skipToken", "arg": "$Query.skipToken"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "@PackageShippingDetails_read", "name": "deliveryPackage"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "@TransportPreferences_read", "name": "transportPreferences"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.xml index 544491ee9..c9ac08cd6 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnM=/2022-12-01.xml @@ -546,6 +546,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1303,6 +1400,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json index f530d00f1..7bfd35ccf 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "data box"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "data box disk"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "data box heavy"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "options": ["include"], "help": {"short": "Details of the filtering the transfer of data."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "hide": true, "group": "", "help": {"short": "Defines the If-Match condition. The patch will be performed only if the ETag of the job on the server matches this value."}}, {"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences related to the order"}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "var": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "hide": true, "group": "Details", "help": {"short": "Return package details of job."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Reverse Shipping Address and contact details for a job."}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResourceUpdateParameter", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.identity", "options": ["identity"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.tags", "options": ["tags"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResourceUpdateParameter", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResourceUpdateParameter.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension"}]}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode"}]}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$jobResourceUpdateParameter.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "Databox Job Details"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "group": "Details", "help": {"short": "Customer disk job details."}, "args": [{"type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}, "default": {"value": false}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "required": true, "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "required": true, "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "required": true, "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "required": true, "help": {"short": "Return package shipping details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "Databox Heavy Device Job Details"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "Details of data box heavy"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "group": "Include", "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "group": "Include", "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "group": "Include", "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "group": "Include", "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "hide": true, "group": "", "help": {"short": "Defines the If-Match condition. The patch will be performed only if the ETag of the job on the server matches this value."}}, {"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences related to the order"}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "var": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "hide": true, "group": "Details", "help": {"short": "Return package details of job."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Reverse Shipping Address and contact details for a job."}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResourceUpdateParameter", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.identity", "options": ["identity"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.tags", "options": ["tags"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResourceUpdateParameter", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResourceUpdateParameter.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension"}]}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode"}]}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$jobResourceUpdateParameter.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml index 918733782..455562f4d 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml @@ -534,6 +534,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -916,13 +1013,48 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -934,12 +1066,12 @@ - + - + @@ -953,7 +1085,7 @@ - + @@ -1000,67 +1132,64 @@ - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - - - + + + - - - - - - - + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -1461,7 +1590,7 @@ - + @@ -1539,7 +1668,7 @@ - + @@ -1654,6 +1783,25 @@ + + + + + + + + + + + + + + + + + + + @@ -2196,6 +2344,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2698,6 +2943,7 @@ + @@ -3441,6 +3687,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From a5d1720238a7cbc80df12a798b9b96099f304617 Mon Sep 17 00:00:00 2001 From: jing-song <37168047+Jing-song@users.noreply.github.com> Date: Thu, 18 May 2023 18:14:14 +0800 Subject: [PATCH 10/13] update --- .../2022-12-01.json | 2 +- .../2022-12-01.xml | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json index 7bfd35ccf..bdfc04a46 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "Databox Job Details"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "group": "Details", "help": {"short": "Customer disk job details."}, "args": [{"type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}, "default": {"value": false}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "required": true, "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "required": true, "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "required": true, "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "required": true, "help": {"short": "Return package shipping details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "Databox Heavy Device Job Details"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "Details of data box heavy"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "group": "Include", "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "group": "Include", "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "group": "Include", "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "group": "Include", "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "hide": true, "group": "", "help": {"short": "Defines the If-Match condition. The patch will be performed only if the ETag of the job on the server matches this value."}}, {"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences related to the order"}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "var": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "hide": true, "group": "Details", "help": {"short": "Return package details of job."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Reverse Shipping Address and contact details for a job."}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResourceUpdateParameter", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.identity", "options": ["identity"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.tags", "options": ["tags"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResourceUpdateParameter", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResourceUpdateParameter.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension"}]}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode"}]}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$jobResourceUpdateParameter.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "Databox Job Details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "Customer disk job details."}, "args": [{"type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}, "default": {"value": false}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "required": true, "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "required": true, "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "required": true, "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "required": true, "help": {"short": "Return package shipping details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "Databox Heavy Device Job Details"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "Databox Heavy Device Job Details"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "group": "Include", "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "group": "Include", "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "group": "Include", "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "group": "Include", "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "hide": true, "group": "", "help": {"short": "Defines the If-Match condition. The patch will be performed only if the ETag of the job on the server matches this value."}}, {"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences related to the order"}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "var": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "hide": true, "group": "Details", "help": {"short": "Return package details of job."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Reverse Shipping Address and contact details for a job."}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResourceUpdateParameter", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.identity", "options": ["identity"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.tags", "options": ["tags"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResourceUpdateParameter", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResourceUpdateParameter.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension"}]}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode"}]}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$jobResourceUpdateParameter.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml index 455562f4d..e449552c0 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml @@ -1013,12 +1013,12 @@ - + - + @@ -1066,12 +1066,12 @@ - + - + @@ -1189,7 +1189,7 @@ - + @@ -1376,7 +1376,6 @@ - @@ -2943,7 +2942,6 @@ - From 60da405a50e11fb01c2a49bfdfd8985bf13bac1a Mon Sep 17 00:00:00 2001 From: jing-song <37168047+Jing-song@users.noreply.github.com> Date: Fri, 19 May 2023 17:48:00 +0800 Subject: [PATCH 11/13] update --- .../2022-12-01.json | 2 +- .../2022-12-01.xml | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json index bdfc04a46..47f13debf 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "hide": true, "group": "Details", "help": {"short": "Databox Job Details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "hide": true, "group": "Details", "help": {"short": "Customer disk job details."}, "args": [{"type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}, "default": {"value": false}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "required": true, "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "required": true, "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "required": true, "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "required": true, "help": {"short": "Return package shipping details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "hide": true, "group": "Details", "help": {"short": "Databox Heavy Device Job Details"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "hide": true, "group": "Details", "help": {"short": "Databox Heavy Device Job Details"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "group": "Include", "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "group": "Include", "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "group": "Include", "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "group": "Include", "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "hide": true, "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "hide": true, "group": "", "help": {"short": "Defines the If-Match condition. The patch will be performed only if the ETag of the job on the server matches this value."}}, {"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences related to the order"}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "var": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "hide": true, "group": "Details", "help": {"short": "Return package details of job."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Reverse Shipping Address and contact details for a job."}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResourceUpdateParameter", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.identity", "options": ["identity"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.tags", "options": ["tags"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResourceUpdateParameter", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResourceUpdateParameter.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension"}]}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode"}]}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$jobResourceUpdateParameter.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "group": "Details", "help": {"short": "Databox Job Details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "group": "Details", "help": {"short": "Customer disk job details."}, "args": [{"type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}, "default": {"value": false}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "required": true, "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "required": true, "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "required": true, "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "required": true, "help": {"short": "Return package shipping details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "group": "Details", "help": {"short": "Databox Heavy Device Job Details"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "group": "Details", "help": {"short": "Databox Heavy Device Job Details"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "group": "Include", "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "group": "Include", "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "group": "Include", "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "group": "Include", "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "hide": true, "group": "", "help": {"short": "Defines the If-Match condition. The patch will be performed only if the ETag of the job on the server matches this value."}}, {"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences related to the order"}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "var": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "hide": true, "group": "Details", "help": {"short": "Return package details of job."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Reverse Shipping Address and contact details for a job."}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResourceUpdateParameter", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.identity", "options": ["identity"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.tags", "options": ["tags"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResourceUpdateParameter", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResourceUpdateParameter.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension"}]}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode"}]}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$jobResourceUpdateParameter.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml index e449552c0..46e381438 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml @@ -1012,13 +1012,13 @@ - + - + @@ -1053,7 +1053,7 @@ - + @@ -1065,13 +1065,13 @@ - + - + @@ -1189,7 +1189,7 @@ - + @@ -1376,6 +1376,7 @@ + @@ -2942,6 +2943,7 @@ + From 56a59fe6d0502066728dc0463af461cb724c76e9 Mon Sep 17 00:00:00 2001 From: jing-song <37168047+Jing-song@users.noreply.github.com> Date: Fri, 19 May 2023 18:19:03 +0800 Subject: [PATCH 12/13] update --- .../2022-12-01.json | 2 +- .../2022-12-01.xml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json index 47f13debf..bd24445b6 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "group": "Details", "help": {"short": "Databox Job Details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "group": "Details", "help": {"short": "Customer disk job details."}, "args": [{"type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}, "default": {"value": false}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "required": true, "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "required": true, "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "required": true, "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "required": true, "help": {"short": "Return package shipping details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "group": "Details", "help": {"short": "Databox Heavy Device Job Details"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "group": "Details", "help": {"short": "Databox Heavy Device Job Details"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "group": "Include", "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "group": "Include", "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "group": "Include", "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "group": "Include", "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "hide": true, "group": "", "help": {"short": "Defines the If-Match condition. The patch will be performed only if the ETag of the job on the server matches this value."}}, {"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences related to the order"}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "var": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "hide": true, "group": "Details", "help": {"short": "Return package details of job."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Reverse Shipping Address and contact details for a job."}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResourceUpdateParameter", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.identity", "options": ["identity"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.tags", "options": ["tags"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResourceUpdateParameter", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResourceUpdateParameter.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension"}]}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode"}]}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$jobResourceUpdateParameter.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "commandGroups": [{"name": "databox job", "commands": [{"name": "show", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "$expand is supported on details parameter for job, which provides details on the job stages."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResource.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResource.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResource.properties.details.DataBox", "options": ["data-box"], "group": "Details", "help": {"short": "Databox Job Details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBox.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk", "options": ["data-box-customer-disk"], "group": "Details", "help": {"short": "Customer disk job details."}, "args": [{"type": "boolean", "var": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup", "options": ["enable-manifest-backup"], "help": {"short": "Flag to indicate if disk manifest should be backed-up in the Storage Account."}, "default": {"value": false}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "options": ["import-disk-details-collection"], "help": {"short": "Contains the map of disk serial number to the disk details for import jobs."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "options": ["bit-locker-key"], "required": true, "help": {"short": "BitLocker key used to encrypt the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "options": ["manifest-file"], "required": true, "help": {"short": "The relative path of the manifest file on the disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "options": ["manifest-hash"], "required": true, "help": {"short": "The Base16-encoded MD5 hash of the manifest file on the disk."}}]}}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "required": true, "help": {"short": "Return package shipping details."}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk", "options": ["data-box-disk"], "group": "Details", "help": {"short": "Databox Heavy Device Job Details"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxDisk.passkey", "options": ["passkey"], "help": {"short": "User entered passkey for DataBox Disk job."}}, {"type": "object", "var": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "options": ["preferred-disks"], "help": {"short": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int."}, "additionalProps": {"item": {"type": "integer32"}}}]}, {"type": "object", "var": "$jobResource.properties.details.DataBoxHeavy", "options": ["data-box-heavy"], "group": "Details", "help": {"short": "Databox Heavy Device Job Details"}, "args": [{"type": "string", "var": "$jobResource.properties.details.DataBoxHeavy.devicePassword", "options": ["device-password"], "help": {"short": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails", "options": ["data-export-details"], "group": "Details", "help": {"short": "Details of the data to be exported from azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "options": ["transfer-configuration"], "required": true, "help": {"short": "Configuration for the data transfer."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "options": ["transfer-all-details"], "help": {"short": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "options": ["include"], "help": {"short": "Details to transfer all data."}, "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "options": ["data-account-type"], "required": true, "help": {"short": "Type of the account of data"}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs", "options": ["transfer-all-blobs"], "help": {"short": "To indicate if all Azure blobs have to be transferred"}}, {"type": "boolean", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles", "options": ["transfer-all-files"], "help": {"short": "To indicate if all Azure Files have to be transferred"}}]}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "options": ["transfer-configuration-type"], "required": true, "help": {"short": "Type of the configuration for transfer."}, "enum": {"items": [{"name": "TransferAll", "value": "TransferAll"}, {"name": "TransferUsingFilter", "value": "TransferUsingFilter"}]}}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "options": ["transfer-filter-details"], "help": {"short": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter."}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "options": ["azure-file-filter-details"], "group": "Include", "help": {"short": "Filter details to transfer Azure files."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "options": ["file-path-list"], "help": {"short": "List of full path of the files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "options": ["file-prefix-list"], "help": {"short": "Prefix list of the Azure files to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "options": ["file-share-list"], "help": {"short": "List of file shares to be transferred."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "options": ["blob-filter-details"], "group": "Include", "help": {"short": "Filter details to transfer blobs."}, "args": [{"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "options": ["blob-path-list"], "help": {"short": "List of full path of the blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "options": ["blob-prefix-list"], "help": {"short": "Prefix list of the Azure blobs to be transferred."}, "item": {"type": "string"}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "options": ["container-list"], "help": {"short": "List of blob containers to be transferred."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "options": ["data-account-type"], "group": "Include", "help": {"short": "Type of the account of data."}, "default": {"value": "StorageAccount"}, "enum": {"items": [{"name": "ManagedDisk", "value": "ManagedDisk"}, {"name": "StorageAccount", "value": "StorageAccount"}]}}, {"type": "array", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "options": ["filter-file-details"], "group": "Include", "help": {"short": "Details of the filter files to be used for data transfer."}, "item": {"type": "object", "args": [{"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "options": ["filter-file-path"], "required": true, "help": {"short": "Path of the file that contains the details of all items to transfer."}}, {"type": "string", "var": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "options": ["filter-file-type"], "required": true, "help": {"short": "Type of the filter file."}, "enum": {"items": [{"name": "AzureBlob", "value": "AzureBlob"}, {"name": "AzureFile", "value": "AzureFile"}]}}]}}]}]}]}}, {"type": "array", "var": "$jobResource.properties.details.dataImportDetails", "options": ["data-import-details"], "group": "Details", "help": {"short": "Details of the data to be imported into azure."}, "item": {"type": "object", "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails", "options": ["account-details"], "required": true, "help": {"short": "Account details of the data to be transferred"}, "args": [{"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "options": ["managed-disk"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "options": ["resource-group-id"], "required": true, "help": {"short": "Resource Group Id of the compute disks."}}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "options": ["staging-storage-account-id"], "required": true, "help": {"short": "Resource Id of the storage account that can be used to copy the vhd for staging."}}]}, {"type": "object", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "options": ["storage-account"], "args": [{"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "options": ["storage-account-id"], "required": true, "group": "StorageAccount", "help": {"short": "Storage Account Resource Id."}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "options": ["share-password"], "help": {"short": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+"}}]}, {"type": "string", "var": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "options": ["log-collection-level"], "help": {"short": "Level of the logs to be collected."}, "default": {"value": "Error"}, "enum": {"items": [{"name": "Error", "value": "Error"}, {"name": "Verbose", "value": "Verbose"}]}}]}}, {"type": "integer32", "var": "$jobResource.properties.details.expectedDataSizeInTeraBytes", "options": ["expected-data-size"], "group": "Details", "help": {"short": "The expected size of the data, which needs to be transferred in this job, in terabytes."}}, {"type": "object", "var": "$jobResource.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences for the order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "var": "$jobResource.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResource.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_create.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Optional Reverse Shipping details for order."}, "args": [{"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_create.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_create.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_create.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_create.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_create.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_create.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_create.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_create.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_create.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_create.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_create"}]}]}, {"name": "JobResource", "args": [{"type": "object", "var": "$jobResource.identity", "options": ["identity"], "group": "JobResource", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResource.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$jobResource.location", "options": ["l", "location"], "required": true, "group": "JobResource", "help": {"short": "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."}}, {"type": "object", "var": "$jobResource.tags", "options": ["tags"], "group": "JobResource", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "default": {"value": "MicrosoftManaged"}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$jobResource.properties.deliveryInfo", "options": ["delivery-info"], "hide": true, "group": "Properties", "help": {"short": "Delivery Info of Job."}, "args": [{"type": "dateTime", "var": "$jobResource.properties.deliveryInfo.scheduledDateTime", "options": ["scheduled-date-time"], "help": {"short": "Scheduled date time."}}]}, {"type": "string", "var": "$jobResource.properties.deliveryType", "options": ["delivery-type"], "hide": true, "group": "Properties", "help": {"short": "Delivery type of Job."}, "default": {"value": "NonScheduled"}, "enum": {"items": [{"name": "NonScheduled", "value": "NonScheduled"}, {"name": "Scheduled", "value": "Scheduled"}]}}, {"type": "string", "var": "$jobResource.properties.transferType", "options": ["transfer-type"], "required": true, "group": "Properties", "help": {"short": "Type of the data transfer."}, "enum": {"items": [{"name": "ExportFromAzure", "value": "ExportFromAzure"}, {"name": "ImportToAzure", "value": "ImportToAzure"}]}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResource.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResource.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResource.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}, {"name": "Sku", "args": [{"type": "string", "var": "$jobResource.sku.displayName", "options": ["display-name"], "hide": true, "group": "Sku", "help": {"short": "The display name of the sku."}}, {"type": "string", "var": "$jobResource.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The sku family."}}, {"type": "string", "var": "$jobResource.sku.name", "options": ["sku"], "required": true, "group": "Sku", "help": {"short": "The sku name."}, "enum": {"items": [{"name": "DataBox", "value": "DataBox"}, {"name": "DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"name": "DataBoxDisk", "value": "DataBoxDisk"}, {"name": "DataBoxHeavy", "value": "DataBoxHeavy"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResource.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResource.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$jobResource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "deliveryInfo", "arg": "$jobResource.properties.deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime", "arg": "$jobResource.properties.deliveryInfo.scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "arg": "$jobResource.properties.deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResource.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResource.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResource.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.contactDetails.phoneExtension"}]}, {"type": "array", "name": "dataExportDetails", "arg": "$jobResource.properties.details.dataExportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataExportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataExportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails", "props": [{"type": "object", "name": "include", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferAllDetails.include.transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.azureFileFilterDetails.fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.blobFilterDetails.containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "arg": "$jobResource.properties.details.dataExportDetails[].transferConfiguration.transferFilterDetails.include.filterFileDetails[].filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "arg": "$jobResource.properties.details.dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk", "value": "ManagedDisk"}, {"arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount", "value": "StorageAccount"}]}}, {"type": "string", "name": "sharePassword", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.sharePassword", "secret": true}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.ManagedDisk.stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "arg": "$jobResource.properties.details.dataImportDetails[].accountDetails.StorageAccount.storageAccountId", "required": true}]}]}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "arg": "$jobResource.properties.details.dataImportDetails[].logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes", "arg": "$jobResource.properties.details.expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"arg": "$jobResource.properties.details.DataBox", "value": "DataBox"}, {"arg": "$jobResource.properties.details.DataBoxCustomerDisk", "value": "DataBoxCustomerDisk"}, {"arg": "$jobResource.properties.details.DataBoxDisk", "value": "DataBoxDisk"}, {"arg": "$jobResource.properties.details.DataBoxHeavy", "value": "DataBoxHeavy"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResource.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResource.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResource.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResource.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResource.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResource.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResource.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResource.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_create", "name": "reverseTransportPreferences", "arg": "$jobResource.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResource.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResource.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_create.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_create"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResource.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResource.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResource.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_create.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_create.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_create.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_create.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_create.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_create.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_create.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_create.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_create.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_create.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_create.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_create.zipExtendedCode"}], "cls": "ShippingAddress_create"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResource.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResource.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResource.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResource.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResource.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResource.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResource.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResource.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResource.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResource.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResource.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResource.properties.details.shippingAddress.zipExtendedCode"}]}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBox.devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.enableManifestBackup"}, {"type": "object", "name": "importDiskDetailsCollection", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "bitLockerKey", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.importDiskDetailsCollection{}.manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResource.properties.details.DataBoxCustomerDisk.returnToCustomerPackageDetails.trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"type": "string", "name": "passkey", "arg": "$jobResource.properties.details.DataBoxDisk.passkey"}, {"type": "object", "name": "preferredDisks", "arg": "$jobResource.properties.details.DataBoxDisk.preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"type": "string", "name": "devicePassword", "arg": "$jobResource.properties.details.DataBoxHeavy.devicePassword"}]}]}, {"type": "string", "name": "transferType", "arg": "$jobResource.properties.transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName", "arg": "$jobResource.sku.displayName"}, {"type": "string", "name": "family", "arg": "$jobResource.sku.family"}, {"type": "string", "name": "name", "arg": "$jobResource.sku.name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "tags", "arg": "$jobResource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", "version": "2022-12-01", "swagger": "mgmt-plane/databox/ResourceProviders/Microsoft.DataBox/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL3tqb2JOYW1lfQ==/V/MjAyMi0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "hide": true, "group": "", "help": {"short": "Defines the If-Match condition. The patch will be performed only if the ETag of the job on the server matches this value."}}, {"type": "string", "var": "$Path.jobName", "options": ["n", "name", "job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only"}, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ContactDetails", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "options": ["contact-name"], "group": "ContactDetails", "help": {"short": "Contact name of the person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "options": ["email-list"], "group": "ContactDetails", "help": {"short": "List of Email-ids to be notified about job progress."}, "item": {"type": "string"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile", "options": ["mobile"], "group": "ContactDetails", "help": {"short": "Mobile number of the contact person."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "options": ["notification-preference"], "hide": true, "group": "ContactDetails", "help": {"short": "Notification preference for a job stage."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "options": ["send-notification"], "required": true, "help": {"short": "Notification is required or not."}, "default": {"value": true}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "options": ["stage-name"], "required": true, "help": {"short": "Name of the stage."}, "enum": {"items": [{"name": "AtAzureDC", "value": "AtAzureDC"}, {"name": "Created", "value": "Created"}, {"name": "DataCopy", "value": "DataCopy"}, {"name": "Delivered", "value": "Delivered"}, {"name": "DevicePrepared", "value": "DevicePrepared"}, {"name": "Dispatched", "value": "Dispatched"}, {"name": "PickedUp", "value": "PickedUp"}, {"name": "ShippedToCustomer", "value": "ShippedToCustomer"}]}}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "options": ["phone"], "group": "ContactDetails", "help": {"short": "Phone number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension", "options": ["phone-extension"], "hide": true, "group": "ContactDetails", "help": {"short": "Phone extension number of the contact person."}}]}, {"name": "Details", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences", "options": ["preferences"], "hide": true, "group": "Details", "help": {"short": "Preferences related to the order"}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "options": ["encryption-preferences"], "help": {"short": "Preferences related to the Encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "options": ["double-encryption"], "help": {"short": "Defines secondary layer of software-based encryption enablement."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "options": ["hardware-encryption"], "help": {"short": "Defines Hardware level encryption (Only for disk)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "options": ["preferred-data-center-region"], "help": {"short": "Preferred data center region."}, "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "var": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences", "options": ["reverse-transport-preferences"], "help": {"short": "Optional Preferences related to the reverse shipment logistics of the sku."}}, {"type": "array", "var": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "options": ["storage-account-access-tier-preferences"], "help": {"short": "Preferences related to the Access Tier of storage accounts."}, "item": {"type": "string", "enum": {"items": [{"name": "Archive", "value": "Archive"}]}}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "options": ["transport-preferences"], "help": {"short": "Preferences related to the shipment logistics of the sku."}, "args": [{"type": "string", "var": "@TransportPreferences_update.preferredShipmentType", "options": ["preferred-shipment-type"], "required": true, "help": {"short": "Indicates Shipment Logistics type that the customer preferred."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "options": ["return-to-customer-package-details"], "hide": true, "group": "Details", "help": {"short": "Return package details of job."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "options": ["carrier-account-number"], "help": {"short": "Carrier Account Number of customer for customer disk."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName", "options": ["carrier-name"], "help": {"short": "Name of the carrier."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId", "options": ["tracking-id"], "help": {"short": "Tracking Id of shipment."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "options": ["reverse-shipping-details"], "hide": true, "group": "Details", "help": {"short": "Reverse Shipping Address and contact details for a job."}, "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "options": ["contact-details"], "help": {"short": "Contact Info."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "options": ["contact-name"], "required": true, "help": {"short": "Contact name of the person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile", "options": ["mobile"], "help": {"short": "Mobile number of the contact person."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "options": ["phone"], "required": true, "help": {"short": "Phone number of the contact person."}, "format": {"minLength": 1}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension", "options": ["phone-extension"], "help": {"short": "Phone extension number of the contact person."}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "options": ["shipping-address"], "args": [{"type": "string", "var": "@ShippingAddress_update.addressType", "options": ["address-type"], "help": {"short": "Type of address."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "@ShippingAddress_update.city", "options": ["city"], "help": {"short": "Name of the City."}}, {"type": "string", "var": "@ShippingAddress_update.companyName", "options": ["company-name"], "help": {"short": "Name of the company."}}, {"type": "string", "var": "@ShippingAddress_update.country", "options": ["country"], "required": true, "help": {"short": "Name of the Country."}}, {"type": "string", "var": "@ShippingAddress_update.postalCode", "options": ["postal-code"], "help": {"short": "Postal code."}}, {"type": "boolean", "var": "@ShippingAddress_update.skipAddressValidation", "options": ["skip-address-validation"], "help": {"short": "Flag to indicate if customer has chosen to skip default address validation"}}, {"type": "string", "var": "@ShippingAddress_update.stateOrProvince", "options": ["state-or-province"], "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress1", "options": ["street-address1"], "required": true, "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress2", "options": ["street-address2"], "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "@ShippingAddress_update.streetAddress3", "options": ["street-address3"], "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "@ShippingAddress_update.taxIdentificationNumber", "options": ["tax-identification-number"], "help": {"short": "Tax Identification Number"}}, {"type": "string", "var": "@ShippingAddress_update.zipExtendedCode", "options": ["zip-extended-code"], "help": {"short": "Extended Zip Code."}}], "cls": "ShippingAddress_update"}]}]}, {"name": "JobResourceUpdateParameter", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.identity", "options": ["identity"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "Msi identity of the resource"}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.identity.type", "options": ["type"], "help": {"short": "Identity type"}, "default": {"value": "None"}}, {"type": "object", "var": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$jobResourceUpdateParameter.tags", "options": ["tags"], "hide": true, "group": "JobResourceUpdateParameter", "help": {"short": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "KeyEncryptionKey", "args": [{"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "options": ["kek-identity"], "group": "KeyEncryptionKey", "help": {"short": "Managed identity properties used for key encryption."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type", "options": ["type"], "help": {"short": "Managed service identity type."}}, {"type": "object", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "options": ["user-assigned"], "help": {"short": "User assigned identity properties."}, "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId", "options": ["resource-id"], "help": {"short": "Arm resource id for user assigned identity to be used to fetch MSI token."}}]}]}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "options": ["kek-type"], "group": "KeyEncryptionKey", "help": {"short": "Type of encryption key used for key encryption."}, "enum": {"items": [{"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "MicrosoftManaged", "value": "MicrosoftManaged"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl", "options": ["kek-url"], "group": "KeyEncryptionKey", "help": {"short": "Key encryption key. It is required in case of Customer managed KekType."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID", "options": ["kek-vault-resource-id"], "group": "KeyEncryptionKey", "help": {"short": "Kek vault resource id. It is required in case of Customer managed KekType."}}]}, {"name": "ShippingAddress", "args": [{"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "options": ["address-type"], "hide": true, "group": "ShippingAddress", "help": {"short": "address type"}, "default": {"value": "None"}, "enum": {"items": [{"name": "Commercial", "value": "Commercial"}, {"name": "None", "value": "None"}, {"name": "Residential", "value": "Residential"}]}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.city", "options": ["city"], "group": "ShippingAddress", "help": {"short": "Name of the city."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName", "options": ["company-name"], "group": "ShippingAddress", "help": {"short": "Name of the company."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "options": ["country"], "group": "ShippingAddress", "help": {"short": "Name of the Country."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode", "options": ["postal-code"], "group": "ShippingAddress", "help": {"short": "Postal code."}}, {"type": "boolean", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation", "options": ["skip-address-validation"], "hide": true, "group": "ShippingAddress", "help": {"short": "skip address validation"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince", "options": ["state-or-province"], "group": "ShippingAddress", "help": {"short": "Name of the State or Province."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "options": ["street-address1"], "group": "ShippingAddress", "help": {"short": "Street Address line 1."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2", "options": ["street-address2"], "group": "ShippingAddress", "help": {"short": "Street Address line 2."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3", "options": ["street-address3"], "group": "ShippingAddress", "help": {"short": "Street Address line 3."}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber", "options": ["tax-identification-number"], "hide": true, "group": "ShippingAddress", "help": {"short": "tax identification number"}}, {"type": "string", "var": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode", "options": ["zip-extended-code"], "hide": true, "group": "ShippingAddress", "help": {"short": "zip extended code"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Jobs_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true, "format": {"pattern": "^[-\\w\\.]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}]}, "body": {"json": {"schema": {"type": "object", "name": "jobResourceUpdateParameter", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$jobResourceUpdateParameter.identity", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$jobResourceUpdateParameter.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "details", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.contactName", "required": true}, {"type": "array", "name": "emailList", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.mobile"}, {"type": "array", "name": "notificationPreference", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].sendNotification", "required": true}, {"type": "string", "name": "stageName", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.notificationPreference[].stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phone", "required": true}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.contactDetails.phoneExtension"}]}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties", "props": [{"type": "string", "name": "type", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.type"}, {"type": "object", "name": "userAssigned", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned", "props": [{"type": "string", "name": "resourceId", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.identityProperties.userAssigned.resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekUrl"}, {"type": "string", "name": "kekVaultResourceID", "arg": "$jobResourceUpdateParameter.properties.details.keyEncryptionKey.kekVaultResourceID"}]}, {"type": "object", "name": "preferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences", "props": [{"type": "object", "name": "encryptionPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "arg": "$jobResourceUpdateParameter.properties.details.preferences.encryptionPreferences.hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "arg": "$jobResourceUpdateParameter.properties.details.preferences.preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_update", "name": "reverseTransportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "arg": "$jobResourceUpdateParameter.properties.details.preferences.transportPreferences", "props": [{"type": "string", "name": "preferredShipmentType", "arg": "@TransportPreferences_update.preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_update"}]}, {"type": "object", "name": "returnToCustomerPackageDetails", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails", "props": [{"type": "string", "name": "carrierAccountNumber", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.carrierName"}, {"type": "string", "name": "trackingId", "arg": "$jobResourceUpdateParameter.properties.details.returnToCustomerPackageDetails.trackingId"}]}, {"type": "object", "name": "reverseShippingDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails", "props": [{"type": "string", "name": "contactName", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.mobile"}, {"type": "string", "name": "phone", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.contactDetails.phoneExtension"}]}, {"type": "object", "name": "shippingAddress", "arg": "$jobResourceUpdateParameter.properties.details.reverseShippingDetails.shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "@ShippingAddress_update.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "@ShippingAddress_update.city"}, {"type": "string", "name": "companyName", "arg": "@ShippingAddress_update.companyName"}, {"type": "string", "name": "country", "arg": "@ShippingAddress_update.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "@ShippingAddress_update.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "@ShippingAddress_update.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "@ShippingAddress_update.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "@ShippingAddress_update.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "@ShippingAddress_update.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "@ShippingAddress_update.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "@ShippingAddress_update.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "@ShippingAddress_update.zipExtendedCode"}], "cls": "ShippingAddress_update"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.city"}, {"type": "string", "name": "companyName", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.companyName"}, {"type": "string", "name": "country", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.country", "required": true}, {"type": "string", "name": "postalCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.postalCode"}, {"type": "boolean", "name": "skipAddressValidation", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.skipAddressValidation"}, {"type": "string", "name": "stateOrProvince", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.stateOrProvince"}, {"type": "string", "name": "streetAddress1", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress2"}, {"type": "string", "name": "streetAddress3", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode", "arg": "$jobResourceUpdateParameter.properties.details.shippingAddress.zipExtendedCode"}]}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$jobResourceUpdateParameter.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataBox/jobs/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"default": {"value": "None"}, "type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "cancellationReason"}, {"type": "object", "name": "deliveryInfo", "props": [{"type": "dateTime", "name": "scheduledDateTime"}]}, {"default": {"value": "NonScheduled"}, "type": "string", "name": "deliveryType", "enum": {"items": [{"value": "NonScheduled"}, {"value": "Scheduled"}]}}, {"type": "object", "name": "details", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "string", "name": "chainOfCustodySasKey"}, {"type": "object", "name": "contactDetails", "required": true, "props": [{"type": "string", "name": "contactName", "required": true}, {"type": "array", "name": "emailList", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "mobile"}, {"type": "array", "name": "notificationPreference", "item": {"type": "object", "props": [{"default": {"value": true}, "type": "boolean", "name": "sendNotification", "required": true}, {"type": "string", "name": "stageName", "required": true, "enum": {"items": [{"value": "AtAzureDC"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "PickedUp"}, {"value": "ShippedToCustomer"}]}}]}}, {"type": "string", "name": "phone", "required": true}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "array", "name": "copyLogDetails", "item": {"type": "object", "props": [{"type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}], "discriminators": [{"property": "copyLogDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "copyLogLink"}, {"readOnly": true, "type": "string", "name": "copyVerboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "string", "name": "diskSerialNumber"}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}, {"property": "copyLogDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "array", "name": "copyLogLink", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "copyVerboseLogLink", "item": {"type": "string"}}]}]}}, {"readOnly": true, "type": "string", "name": "dataCenterCode", "enum": {"items": [{"value": "AM2"}, {"value": "AMS06"}, {"value": "AMS20"}, {"value": "AUH20"}, {"value": "AdHoc"}, {"value": "BJB"}, {"value": "BJS20"}, {"value": "BL20"}, {"value": "BL7"}, {"value": "BN1"}, {"value": "BN7"}, {"value": "BOM01"}, {"value": "BY1"}, {"value": "BY2"}, {"value": "BY21"}, {"value": "BY24"}, {"value": "CBR20"}, {"value": "CH1"}, {"value": "CPQ02"}, {"value": "CPQ20"}, {"value": "CWL20"}, {"value": "CYS04"}, {"value": "DSM05"}, {"value": "DUB07"}, {"value": "FRA22"}, {"value": "HKG20"}, {"value": "Invalid"}, {"value": "JNB21"}, {"value": "JNB22"}, {"value": "LON24"}, {"value": "MAA01"}, {"value": "MEL23"}, {"value": "MNZ21"}, {"value": "MWH01"}, {"value": "ORK70"}, {"value": "OSA02"}, {"value": "OSA20"}, {"value": "OSA22"}, {"value": "PAR22"}, {"value": "PNQ01"}, {"value": "PUS20"}, {"value": "SEL20"}, {"value": "SEL21"}, {"value": "SG2"}, {"value": "SHA03"}, {"value": "SIN20"}, {"value": "SN5"}, {"value": "SN6"}, {"value": "SN8"}, {"value": "SSE90"}, {"value": "SVG20"}, {"value": "SYD03"}, {"value": "SYD23"}, {"value": "TYO01"}, {"value": "TYO22"}, {"value": "YQB20"}, {"value": "YTO20"}, {"value": "YTO21"}, {"value": "ZRH20"}]}}, {"type": "array", "name": "dataExportDetails", "item": {"type": "object", "props": [{"type": "@DataAccountDetails_read", "name": "accountDetails", "required": true}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}, {"type": "object", "name": "transferConfiguration", "required": true, "props": [{"type": "object", "name": "transferAllDetails", "props": [{"type": "object", "name": "include", "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "boolean", "name": "transferAllBlobs"}, {"type": "boolean", "name": "transferAllFiles"}]}]}, {"type": "string", "name": "transferConfigurationType", "required": true, "enum": {"items": [{"value": "TransferAll"}, {"value": "TransferUsingFilter"}]}}, {"type": "object", "name": "transferFilterDetails", "props": [{"type": "object", "name": "include", "props": [{"type": "object", "name": "azureFileFilterDetails", "props": [{"type": "array", "name": "filePathList", "item": {"type": "string"}}, {"type": "array", "name": "filePrefixList", "item": {"type": "string"}}, {"type": "array", "name": "fileShareList", "item": {"type": "string"}}]}, {"type": "object", "name": "blobFilterDetails", "props": [{"type": "array", "name": "blobPathList", "item": {"type": "string"}}, {"type": "array", "name": "blobPrefixList", "item": {"type": "string"}}, {"type": "array", "name": "containerList", "item": {"type": "string"}}]}, {"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"type": "array", "name": "filterFileDetails", "item": {"type": "object", "props": [{"type": "string", "name": "filterFilePath", "required": true}, {"type": "string", "name": "filterFileType", "required": true, "enum": {"items": [{"value": "AzureBlob"}, {"value": "AzureFile"}]}}]}}]}]}]}]}}, {"type": "array", "name": "dataImportDetails", "item": {"type": "object", "props": [{"type": "object", "name": "accountDetails", "required": true, "props": [{"default": {"value": "StorageAccount"}, "type": "string", "name": "dataAccountType", "required": true, "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}], "discriminators": [{"property": "dataAccountType", "value": "ManagedDisk", "props": [{"type": "string", "name": "resourceGroupId", "required": true}, {"type": "string", "name": "stagingStorageAccountId", "required": true}]}, {"property": "dataAccountType", "value": "StorageAccount", "props": [{"type": "string", "name": "storageAccountId", "required": true}]}], "cls": "DataAccountDetails_read"}, {"default": {"value": "Error"}, "type": "string", "name": "logCollectionLevel", "enum": {"items": [{"value": "Error"}, {"value": "Verbose"}]}}]}}, {"type": "object", "name": "datacenterAddress", "props": [{"readOnly": true, "type": "string", "name": "dataCenterAzureLocation"}, {"type": "string", "name": "datacenterAddressType", "required": true, "enum": {"items": [{"value": "DatacenterAddressInstruction"}, {"value": "DatacenterAddressLocation"}]}}, {"readOnly": true, "type": "array", "name": "supportedCarriersForReturnShipment", "item": {"type": "string"}}], "discriminators": [{"property": "datacenterAddressType", "value": "DatacenterAddressInstruction", "props": [{"readOnly": true, "type": "string", "name": "communicationInstruction"}]}, {"property": "datacenterAddressType", "value": "DatacenterAddressLocation", "props": [{"readOnly": true, "type": "string", "name": "additionalShippingInformation"}, {"readOnly": true, "type": "string", "name": "addressType"}, {"readOnly": true, "type": "string", "name": "city"}, {"readOnly": true, "type": "string", "name": "company"}, {"readOnly": true, "type": "string", "name": "contactPersonName"}, {"readOnly": true, "type": "string", "name": "country"}, {"readOnly": true, "type": "string", "name": "phone"}, {"readOnly": true, "type": "string", "name": "phoneExtension"}, {"readOnly": true, "type": "string", "name": "state"}, {"readOnly": true, "type": "string", "name": "street1"}, {"readOnly": true, "type": "string", "name": "street2"}, {"readOnly": true, "type": "string", "name": "street3"}, {"readOnly": true, "type": "string", "name": "zip"}]}]}, {"type": "object", "name": "deliveryPackage", "props": [{"readOnly": true, "type": "string", "name": "carrierName"}, {"readOnly": true, "type": "string", "name": "trackingId"}, {"readOnly": true, "type": "string", "name": "trackingUrl"}], "cls": "PackageShippingDetails_read"}, {"type": "object", "name": "deviceErasureDetails", "props": [{"readOnly": true, "type": "string", "name": "deviceErasureStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "string", "name": "erasureOrDestructionCertificateSasKey"}]}, {"type": "integer32", "name": "expectedDataSizeInTeraBytes"}, {"type": "string", "name": "jobDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "array", "name": "jobStages", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "stageName", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"readOnly": true, "type": "string", "name": "stageStatus", "enum": {"items": [{"value": "Cancelled"}, {"value": "Cancelling"}, {"value": "CustomerActionPerformed"}, {"value": "CustomerActionPerformedForCleanUp"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}, {"value": "SucceededWithErrors"}, {"value": "SucceededWithWarnings"}, {"value": "WaitingForCustomerAction"}, {"value": "WaitingForCustomerActionForCleanUp"}, {"value": "WaitingForCustomerActionForKek"}]}}, {"readOnly": true, "type": "dateTime", "name": "stageTime"}]}}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "object", "name": "identityProperties", "props": [{"type": "string", "name": "type"}, {"type": "object", "name": "userAssigned", "props": [{"type": "string", "name": "resourceId"}]}]}, {"default": {"value": "MicrosoftManaged"}, "type": "string", "name": "kekType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}, {"type": "string", "name": "kekUrl"}, {"type": "string", "name": "kekVaultResourceID"}]}, {"type": "object", "name": "lastMitigationActionOnJob", "props": [{"type": "dateTime", "name": "actionDateTimeInUtc"}, {"type": "string", "name": "customerResolution", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}, {"type": "boolean", "name": "isPerformedByCustomer"}]}, {"type": "object", "name": "preferences", "props": [{"type": "object", "name": "encryptionPreferences", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "doubleEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "hardwareEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "array", "name": "preferredDataCenterRegion", "item": {"type": "string"}}, {"type": "@TransportPreferences_read", "name": "reverseTransportPreferences"}, {"type": "array", "name": "storageAccountAccessTierPreferences", "item": {"type": "string", "enum": {"items": [{"value": "Archive"}]}}}, {"type": "object", "name": "transportPreferences", "props": [{"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "string", "name": "preferredShipmentType", "required": true, "enum": {"items": [{"value": "CustomerManaged"}, {"value": "MicrosoftManaged"}]}}], "cls": "TransportPreferences_read"}]}, {"readOnly": true, "type": "@PackageShippingDetails_read", "name": "returnPackage"}, {"readOnly": true, "type": "string", "name": "reverseShipmentLabelSasKey"}, {"type": "object", "name": "reverseShippingDetails", "props": [{"type": "object", "name": "contactDetails", "props": [{"type": "string", "name": "contactName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "mobile"}, {"type": "string", "name": "phone", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "phoneExtension"}]}, {"readOnly": true, "type": "boolean", "name": "isUpdated"}, {"type": "@ShippingAddress_read", "name": "shippingAddress"}]}, {"type": "object", "name": "shippingAddress", "props": [{"default": {"value": "None"}, "type": "string", "name": "addressType", "enum": {"items": [{"value": "Commercial"}, {"value": "None"}, {"value": "Residential"}]}}, {"type": "string", "name": "city"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country", "required": true}, {"type": "string", "name": "postalCode"}, {"type": "boolean", "name": "skipAddressValidation"}, {"type": "string", "name": "stateOrProvince"}, {"type": "string", "name": "streetAddress1", "required": true}, {"type": "string", "name": "streetAddress2"}, {"type": "string", "name": "streetAddress3"}, {"type": "string", "name": "taxIdentificationNumber"}, {"type": "string", "name": "zipExtendedCode"}], "cls": "ShippingAddress_read"}], "discriminators": [{"property": "jobDetailsType", "value": "DataBox", "props": [{"readOnly": true, "type": "array<@CopyProgress_read>", "name": "copyProgress", "item": {"type": "@CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}, {"property": "jobDetailsType", "value": "DataBoxCustomerDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "object", "name": "deliverToDcPackageDetails", "props": [{"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}, {"default": {"value": false}, "type": "boolean", "name": "enableManifestBackup"}, {"readOnly": true, "type": "object", "name": "exportDiskDetailsCollection", "additionalProps": {"readOnly": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"readOnly": true, "type": "string", "name": "manifestFile"}, {"readOnly": true, "type": "string", "name": "manifestHash"}]}}}, {"type": "object", "name": "importDiskDetailsCollection", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "backupManifestCloudPath"}, {"type": "string", "name": "bitLockerKey", "required": true, "secret": true}, {"type": "string", "name": "manifestFile", "required": true}, {"type": "string", "name": "manifestHash", "required": true}]}}}, {"type": "object", "name": "returnToCustomerPackageDetails", "required": true, "props": [{"type": "string", "name": "carrierAccountNumber", "secret": true}, {"type": "string", "name": "carrierName"}, {"type": "string", "name": "trackingId"}]}]}, {"property": "jobDetailsType", "value": "DataBoxDisk", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesCopied"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer32", "name": "percentComplete"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}]}}, {"readOnly": true, "type": "object", "name": "disksAndSizeDetails", "additionalProps": {"readOnly": true, "item": {"type": "integer32"}}}, {"readOnly": true, "type": "array", "name": "granularCopyLogDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"const": true, "default": {"value": "DataBoxCustomerDisk"}, "type": "string", "name": "copyLogDetailsType", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}, {"readOnly": true, "type": "string", "name": "errorLogLink"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "verboseLogLink"}]}}, {"readOnly": true, "type": "array", "name": "granularCopyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "copyStatus", "enum": {"items": [{"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "DeviceFormatted"}, {"value": "DeviceMetadataModified"}, {"value": "DriveCorrupted"}, {"value": "DriveNotDetected"}, {"value": "DriveNotReceived"}, {"value": "Failed"}, {"value": "HardwareError"}, {"value": "InProgress"}, {"value": "MetadataFilesModifiedOrRemoved"}, {"value": "NotReturned"}, {"value": "NotStarted"}, {"value": "OtherServiceError"}, {"value": "OtherUserError"}, {"value": "StorageAccountNotAccessible"}, {"value": "UnsupportedData"}, {"value": "UnsupportedDrive"}]}}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "serialNumber"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}]}}, {"type": "string", "name": "passkey"}, {"type": "object", "name": "preferredDisks", "additionalProps": {"item": {"type": "integer32"}}}]}, {"property": "jobDetailsType", "value": "DataBoxHeavy", "props": [{"readOnly": true, "type": "array", "name": "copyProgress", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"readOnly": true, "type": "array", "name": "actions", "item": {"type": "string", "enum": {"items": [{"value": "MoveToCleanUpDevice"}, {"value": "None"}, {"value": "ReachOutToOperation"}, {"value": "Restart"}, {"value": "Resume"}]}}}, {"readOnly": true, "type": "integer64", "name": "bytesProcessed"}, {"readOnly": true, "type": "string", "name": "dataAccountType", "enum": {"items": [{"value": "ManagedDisk"}, {"value": "StorageAccount"}]}}, {"readOnly": true, "type": "integer64", "name": "directoriesErroredOut"}, {"readOnly": true, "type": "@CloudError_read", "name": "error"}, {"readOnly": true, "type": "integer64", "name": "filesErroredOut"}, {"readOnly": true, "type": "integer64", "name": "filesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidDirectoriesProcessed"}, {"readOnly": true, "type": "integer64", "name": "invalidFileBytesUploaded"}, {"readOnly": true, "type": "integer64", "name": "invalidFilesProcessed"}, {"readOnly": true, "type": "boolean", "name": "isEnumerationInProgress"}, {"readOnly": true, "type": "integer64", "name": "renamedContainerCount"}, {"readOnly": true, "type": "string", "name": "storageAccountName"}, {"readOnly": true, "type": "integer64", "name": "totalBytesToProcess"}, {"readOnly": true, "type": "integer64", "name": "totalFilesToProcess"}, {"readOnly": true, "type": "string", "name": "transferType", "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "cls": "CopyProgress_read"}}, {"type": "string", "name": "devicePassword"}]}]}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"type": "string", "name": "type"}]}}, {"type": "string", "name": "code"}, {"readOnly": true, "type": "array<@CloudError_read>", "name": "details", "item": {"type": "@CloudError_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "CloudError_read"}, {"readOnly": true, "type": "boolean", "name": "isCancellable"}, {"readOnly": true, "type": "boolean", "name": "isCancellableWithoutFee"}, {"readOnly": true, "type": "boolean", "name": "isDeletable"}, {"readOnly": true, "type": "boolean", "name": "isPrepareToShipEnabled"}, {"readOnly": true, "type": "boolean", "name": "isShippingAddressEditable"}, {"readOnly": true, "type": "string", "name": "reverseShippingDetailsUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "string", "name": "reverseTransportPreferenceUpdate", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "NotSupported"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Aborted"}, {"value": "AtAzureDC"}, {"value": "AwaitingShipmentDetails"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "CompletedWithErrors"}, {"value": "CompletedWithWarnings"}, {"value": "Created"}, {"value": "DataCopy"}, {"value": "Delivered"}, {"value": "DeviceOrdered"}, {"value": "DevicePrepared"}, {"value": "Dispatched"}, {"value": "Failed_IssueDetectedAtAzureDC"}, {"value": "Failed_IssueReportedAtCustomer"}, {"value": "PickedUp"}, {"value": "PreparingToShipFromAzureDC"}, {"value": "ReadyToDispatchFromAzureDC"}, {"value": "ReadyToReceiveAtAzureDC"}, {"value": "ShippedToAzureDC"}, {"value": "ShippedToCustomer"}]}}, {"type": "string", "name": "transferType", "required": true, "enum": {"items": [{"value": "ExportFromAzure"}, {"value": "ImportToAzure"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "displayName"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "DataBox"}, {"value": "DataBoxCustomerDisk"}, {"value": "DataBoxDisk"}, {"value": "DataBoxHeavy"}]}}]}, {"type": "object", "name": "systemData", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "string", "name": "createdBy"}, {"readOnly": true, "type": "string", "name": "createdByType"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedAt"}, {"readOnly": true, "type": "string", "name": "lastModifiedBy"}, {"readOnly": true, "type": "string", "name": "lastModifiedByType"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml index 46e381438..60ec9902d 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml @@ -2943,7 +2943,6 @@ - From d60fa5dce2a5e31ed55ffe0783792987da441ad3 Mon Sep 17 00:00:00 2001 From: jing-song <37168047+Jing-song@users.noreply.github.com> Date: Mon, 22 May 2023 09:57:08 +0800 Subject: [PATCH 13/13] update --- Commands/databox/job/_cancel.md | 2 +- Commands/databox/job/_delete.md | 2 +- Commands/tree.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/databox/job/_cancel.md b/Commands/databox/job/_cancel.md index 41e2b649d..cb4f26c67 100644 --- a/Commands/databox/job/_cancel.md +++ b/Commands/databox/job/_cancel.md @@ -12,5 +12,5 @@ CancelJob. - Cancel job ```bash - databox job cancel -g rg --job-name name --reason reason -y + databox job cancel -g rg --job-name name --reason reason ``` diff --git a/Commands/databox/job/_delete.md b/Commands/databox/job/_delete.md index cae39244f..ad5aa47d9 100644 --- a/Commands/databox/job/_delete.md +++ b/Commands/databox/job/_delete.md @@ -12,5 +12,5 @@ Delete a job. - Delete job ```bash - databox job delete -n job-name -g rg -y + databox job delete -n job-name -g rg ``` diff --git a/Commands/tree.json b/Commands/tree.json index 6826689f5..c0b7a1a33 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -2670,7 +2670,7 @@ "examples": [ { "commands": [ - "databox job cancel -g rg --job-name name --reason reason -y" + "databox job cancel -g rg --job-name name --reason reason" ], "name": "Cancel job" } @@ -2730,7 +2730,7 @@ "examples": [ { "commands": [ - "databox job delete -n job-name -g rg -y" + "databox job delete -n job-name -g rg" ], "name": "Delete job" }