diff --git a/Commands/databox/job/_cancel.md b/Commands/databox/job/_cancel.md new file mode 100644 index 000000000..cb4f26c67 --- /dev/null +++ b/Commands/databox/job/_cancel.md @@ -0,0 +1,16 @@ +# [Command] _databox job cancel_ + +CancelJob. + +## Versions + +### [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 new file mode 100644 index 000000000..ead180fa2 --- /dev/null +++ b/Commands/databox/job/_create.md @@ -0,0 +1,16 @@ +# [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** + + + +#### 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 new file mode 100644 index 000000000..ad5aa47d9 --- /dev/null +++ b/Commands/databox/job/_delete.md @@ -0,0 +1,16 @@ +# [Command] _databox job delete_ + +Delete a job. + +## Versions + +### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml) **Stable** + + + +#### examples + +- Delete job + ```bash + databox job delete -n job-name -g rg + ``` diff --git a/Commands/databox/job/_list-credential.md b/Commands/databox/job/_list-credential.md new file mode 100644 index 000000000..29d0d9b07 --- /dev/null +++ b/Commands/databox/job/_list-credential.md @@ -0,0 +1,16 @@ +# [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** + + + +#### 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 new file mode 100644 index 000000000..20f54e36f --- /dev/null +++ b/Commands/databox/job/_list.md @@ -0,0 +1,17 @@ +# [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** + + + + +#### 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 new file mode 100644 index 000000000..e5775bda4 --- /dev/null +++ b/Commands/databox/job/_mark-devices-shipped.md @@ -0,0 +1,16 @@ +# [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** + + + +#### 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 new file mode 100644 index 000000000..37564bb08 --- /dev/null +++ b/Commands/databox/job/_show.md @@ -0,0 +1,16 @@ +# [Command] _databox job show_ + +Get information about the specified job. + +## Versions + +### [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 new file mode 100644 index 000000000..d2001a338 --- /dev/null +++ b/Commands/databox/job/_update.md @@ -0,0 +1,16 @@ +# [Command] _databox job update_ + +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 new file mode 100644 index 000000000..345b24e6d --- /dev/null +++ b/Commands/databox/job/readme.md @@ -0,0 +1,29 @@ +# [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. + +- [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. + +- [update](/Commands/databox/job/_update.md) +: Update the properties of an existing job. 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..c0b7a1a33 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -2652,6 +2652,272 @@ "confidentialledger" ] }, + "databox": { + "commandGroups": { + "job": { + "commands": { + "cancel": { + "help": { + "short": "CancelJob." + }, + "names": [ + "databox", + "job", + "cancel" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "databox job cancel -g rg --job-name name --reason reason" + ], + "name": "Cancel job" + } + ], + "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": [ + { + "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": [ + { + "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": [ + { + "examples": [ + { + "commands": [ + "databox job delete -n job-name -g rg" + ], + "name": "Delete job" + } + ], + "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": [ + { + "examples": [ + { + "commands": [ + "databox job list -g rg" + ], + "name": "List job by resource group" + } + ], + "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": [ + { + "examples": [ + { + "commands": [ + "databox job list-credential -g rg -n job-name" + ], + "name": "List credential" + } + ], + "name": "2022-12-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}/listcredentials", + "plane": "mgmt-plane", + "version": "2022-12-01" + } + ] + } + ] + }, + "mark-devices-shipped": { + "help": { + "short": "Request to mark devices for a given job as shipped" + }, + "names": [ + "databox", + "job", + "mark-devices-shipped" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "databox job mark-devices-shipped -g rg -n job-name" + ], + "name": "Mark devices shipped" + } + ], + "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." + }, + "names": [ + "databox", + "job", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "databox job show -g rg -n job-name" + ], + "name": "Show job" + } + ], + "name": "2022-12-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databox/jobs/{}", + "plane": "mgmt-plane", + "version": "2022-12-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update the properties of an existing job." + }, + "names": [ + "databox", + "job", + "update" + ], + "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": [ + { + "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..bd24445b6 --- /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"], "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 new file mode 100644 index 000000000..60ec9902d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30=/2022-12-01.xml @@ -0,0 +1,4078 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + +
+
+ +
+
+
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..44f68ddb2 --- /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": ["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 new file mode 100644 index 000000000..522916390 --- /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..ec280b04f --- /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": ["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 new file mode 100644 index 000000000..97fc49f23 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbGlzdGNyZWRlbnRpYWxz/2022-12-01.xml @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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..b0fe6f572 --- /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": ["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 new file mode 100644 index 000000000..f38a390f7 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYm94L2pvYnMve30vbWFya2RldmljZXNzaGlwcGVk/2022-12-01.xml @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +