1286 строки
40 KiB
JSON
1286 строки
40 KiB
JSON
{
|
|
"id": "https://schema.management.azure.com/schemas/2021-12-01/Microsoft.DataBox.json#",
|
|
"title": "Microsoft.DataBox",
|
|
"description": "Microsoft DataBox Resource Types",
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"resourceDefinitions": {
|
|
"jobs": {
|
|
"description": "Microsoft.DataBox/jobs",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2021-12-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"identity": {
|
|
"description": "Msi identity of the resource",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ResourceIdentity"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"location": {
|
|
"description": "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": "string"
|
|
},
|
|
"name": {
|
|
"description": "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",
|
|
"oneOf": [
|
|
{
|
|
"maxLength": 24,
|
|
"minLength": 3,
|
|
"pattern": "^[-\\w\\.]+$",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"properties": {
|
|
"description": "Properties of a job.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/JobProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"sku": {
|
|
"description": "The sku type.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/Sku"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.DataBox/jobs"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"definitions": {
|
|
"AzureFileFilterDetails": {
|
|
"description": "Filter details to transfer Azure files",
|
|
"properties": {
|
|
"filePathList": {
|
|
"description": "List of full path of the files to be transferred.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"filePrefixList": {
|
|
"description": "Prefix list of the Azure files to be transferred.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"fileShareList": {
|
|
"description": "List of file shares to be transferred.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"BlobFilterDetails": {
|
|
"description": "Filter details to transfer Azure Blobs",
|
|
"properties": {
|
|
"blobPathList": {
|
|
"description": "List of full path of the blobs to be transferred.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"blobPrefixList": {
|
|
"description": "Prefix list of the Azure blobs to be transferred.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"containerList": {
|
|
"description": "List of blob containers to be transferred.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ContactDetails": {
|
|
"description": "Contact Details.",
|
|
"properties": {
|
|
"contactName": {
|
|
"description": "Contact name of the person.",
|
|
"type": "string"
|
|
},
|
|
"emailList": {
|
|
"description": "List of Email-ids to be notified about job progress.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"mobile": {
|
|
"description": "Mobile number of the contact person.",
|
|
"type": "string"
|
|
},
|
|
"notificationPreference": {
|
|
"description": "Notification preference for a job stage.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/NotificationPreference"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"phone": {
|
|
"description": "Phone number of the contact person.",
|
|
"type": "string"
|
|
},
|
|
"phoneExtension": {
|
|
"description": "Phone extension number of the contact person.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"contactName",
|
|
"phone",
|
|
"emailList"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"DataAccountDetails": {
|
|
"description": "Account details of the data to be transferred",
|
|
"oneOf": [
|
|
{
|
|
"description": "Details of the managed disks.",
|
|
"properties": {
|
|
"dataAccountType": {
|
|
"enum": [
|
|
"ManagedDisk"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"resourceGroupId": {
|
|
"description": "Resource Group Id of the compute disks.",
|
|
"type": "string"
|
|
},
|
|
"stagingStorageAccountId": {
|
|
"description": "Resource Id of the storage account that can be used to copy the vhd for staging.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"resourceGroupId",
|
|
"stagingStorageAccountId",
|
|
"dataAccountType"
|
|
],
|
|
"type": "object"
|
|
},
|
|
{
|
|
"description": "Details for the storage account.",
|
|
"properties": {
|
|
"dataAccountType": {
|
|
"enum": [
|
|
"StorageAccount"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"storageAccountId": {
|
|
"description": "Storage Account Resource Id.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"storageAccountId",
|
|
"dataAccountType"
|
|
],
|
|
"type": "object"
|
|
}
|
|
],
|
|
"properties": {
|
|
"sharePassword": {
|
|
"description": "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"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"DataExportDetails": {
|
|
"description": "Details of the data to be used for exporting data from azure.",
|
|
"properties": {
|
|
"accountDetails": {
|
|
"description": "Account details of the data to be transferred",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/DataAccountDetails"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"logCollectionLevel": {
|
|
"description": "Level of the logs to be collected.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Error",
|
|
"Verbose"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"transferConfiguration": {
|
|
"description": "Configuration for the data transfer.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/TransferConfiguration"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"transferConfiguration",
|
|
"accountDetails"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"DataImportDetails": {
|
|
"description": "Details of the data to be used for importing data to azure.",
|
|
"properties": {
|
|
"accountDetails": {
|
|
"description": "Account details of the data to be transferred",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/DataAccountDetails"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"logCollectionLevel": {
|
|
"description": "Level of the logs to be collected.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Error",
|
|
"Verbose"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"accountDetails"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"EncryptionPreferences": {
|
|
"description": "Preferences related to the Encryption.",
|
|
"properties": {
|
|
"doubleEncryption": {
|
|
"description": "Defines secondary layer of software-based encryption enablement.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Enabled",
|
|
"Disabled"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"FilterFileDetails": {
|
|
"description": "Details of the filter files to be used for data transfer.",
|
|
"properties": {
|
|
"filterFilePath": {
|
|
"description": "Path of the file that contains the details of all items to transfer.",
|
|
"type": "string"
|
|
},
|
|
"filterFileType": {
|
|
"description": "Type of the filter file.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"AzureBlob",
|
|
"AzureFile"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"filterFileType",
|
|
"filterFilePath"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"IdentityProperties": {
|
|
"description": "Managed identity properties.",
|
|
"properties": {
|
|
"type": {
|
|
"description": "Managed service identity type.",
|
|
"type": "string"
|
|
},
|
|
"userAssigned": {
|
|
"description": "User assigned identity properties.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/UserAssignedProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ImportDiskDetails": {
|
|
"description": "Import disk details",
|
|
"properties": {
|
|
"bitLockerKey": {
|
|
"description": "BitLocker key used to encrypt the disk.",
|
|
"type": "string"
|
|
},
|
|
"manifestFile": {
|
|
"description": "The relative path of the manifest file on the disk.",
|
|
"type": "string"
|
|
},
|
|
"manifestHash": {
|
|
"description": "The Base16-encoded MD5 hash of the manifest file on the disk.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"manifestFile",
|
|
"manifestHash",
|
|
"bitLockerKey"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"JobDeliveryInfo": {
|
|
"description": "Additional delivery info.",
|
|
"properties": {
|
|
"scheduledDateTime": {
|
|
"description": "Scheduled date time.",
|
|
"format": "date-time",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"JobDetails": {
|
|
"description": "Job details.",
|
|
"oneOf": [
|
|
{
|
|
"description": "Databox Job Details",
|
|
"properties": {
|
|
"devicePassword": {
|
|
"description": "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": "string"
|
|
},
|
|
"jobDetailsType": {
|
|
"enum": [
|
|
"DataBox"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"jobDetailsType"
|
|
],
|
|
"type": "object"
|
|
},
|
|
{
|
|
"description": "Customer disk job details.",
|
|
"properties": {
|
|
"enableManifestBackup": {
|
|
"description": "Flag to indicate if disk manifest should be backed-up in the Storage Account.",
|
|
"oneOf": [
|
|
{
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"importDiskDetailsCollection": {
|
|
"description": "Contains the map of disk serial number to the disk details for import jobs.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/ImportDiskDetails"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"jobDetailsType": {
|
|
"enum": [
|
|
"DataBoxCustomerDisk"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"returnToCustomerPackageDetails": {
|
|
"description": "Return package shipping details.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PackageCarrierDetails"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"returnToCustomerPackageDetails",
|
|
"jobDetailsType"
|
|
],
|
|
"type": "object"
|
|
},
|
|
{
|
|
"description": "DataBox Disk Job Details.",
|
|
"properties": {
|
|
"jobDetailsType": {
|
|
"enum": [
|
|
"DataBoxDisk"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"passkey": {
|
|
"description": "User entered passkey for DataBox Disk job.",
|
|
"type": "string"
|
|
},
|
|
"preferredDisks": {
|
|
"description": "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.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "integer"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"jobDetailsType"
|
|
],
|
|
"type": "object"
|
|
},
|
|
{
|
|
"description": "Databox Heavy Device Job Details",
|
|
"properties": {
|
|
"devicePassword": {
|
|
"description": "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": "string"
|
|
},
|
|
"jobDetailsType": {
|
|
"enum": [
|
|
"DataBoxHeavy"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"jobDetailsType"
|
|
],
|
|
"type": "object"
|
|
}
|
|
],
|
|
"properties": {
|
|
"contactDetails": {
|
|
"description": "Contact details for notification and shipping.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ContactDetails"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"dataExportDetails": {
|
|
"description": "Details of the data to be exported from azure.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/DataExportDetails"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"dataImportDetails": {
|
|
"description": "Details of the data to be imported into azure.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/DataImportDetails"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"expectedDataSizeInTeraBytes": {
|
|
"description": "The expected size of the data, which needs to be transferred in this job, in terabytes.",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"keyEncryptionKey": {
|
|
"description": "Details about which key encryption type is being used.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/KeyEncryptionKey"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"preferences": {
|
|
"description": "Preferences for the order.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/Preferences"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"shippingAddress": {
|
|
"description": "Shipping address of the customer.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ShippingAddress"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"contactDetails"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"JobProperties": {
|
|
"description": "Job Properties",
|
|
"properties": {
|
|
"deliveryInfo": {
|
|
"description": "Delivery Info of Job.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/JobDeliveryInfo"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"deliveryType": {
|
|
"description": "Delivery type of Job.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"NonScheduled",
|
|
"Scheduled"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"details": {
|
|
"description": "Details of a job run. This field will only be sent for expand details filter.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/JobDetails"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"transferType": {
|
|
"description": "Type of the data transfer.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"ImportToAzure",
|
|
"ExportFromAzure"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"transferType"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"KeyEncryptionKey": {
|
|
"description": "Encryption key containing details about key to encrypt different keys.",
|
|
"properties": {
|
|
"identityProperties": {
|
|
"description": "Managed identity properties used for key encryption.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/IdentityProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"kekType": {
|
|
"description": "Type of encryption key used for key encryption.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"MicrosoftManaged",
|
|
"CustomerManaged"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"kekUrl": {
|
|
"description": "Key encryption key. It is required in case of Customer managed KekType.",
|
|
"type": "string"
|
|
},
|
|
"kekVaultResourceID": {
|
|
"description": "Kek vault resource id. It is required in case of Customer managed KekType.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"kekType"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"NotificationPreference": {
|
|
"description": "Notification preference for a job stage.",
|
|
"properties": {
|
|
"sendNotification": {
|
|
"description": "Notification is required or not.",
|
|
"oneOf": [
|
|
{
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"stageName": {
|
|
"description": "Name of the stage.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"DevicePrepared",
|
|
"Dispatched",
|
|
"Delivered",
|
|
"PickedUp",
|
|
"AtAzureDC",
|
|
"DataCopy",
|
|
"Created",
|
|
"ShippedToCustomer"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"stageName",
|
|
"sendNotification"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"PackageCarrierDetails": {
|
|
"description": "Package carrier details.",
|
|
"properties": {
|
|
"carrierAccountNumber": {
|
|
"description": "Carrier Account Number of customer for customer disk.",
|
|
"type": "string"
|
|
},
|
|
"carrierName": {
|
|
"description": "Name of the carrier.",
|
|
"type": "string"
|
|
},
|
|
"trackingId": {
|
|
"description": "Tracking Id of shipment.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Preferences": {
|
|
"description": "Preferences related to the order",
|
|
"properties": {
|
|
"encryptionPreferences": {
|
|
"description": "Preferences related to the Encryption.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/EncryptionPreferences"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"preferredDataCenterRegion": {
|
|
"description": "Preferred data center region.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"storageAccountAccessTierPreferences": {
|
|
"description": "Preferences related to the Access Tier of storage accounts.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"enum": [
|
|
"Archive"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"transportPreferences": {
|
|
"description": "Preferences related to the shipment logistics of the sku.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/TransportPreferences"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourceIdentity": {
|
|
"description": "Msi identity details of the resource",
|
|
"properties": {
|
|
"type": {
|
|
"default": "None",
|
|
"description": "Identity type",
|
|
"type": "string"
|
|
},
|
|
"userAssignedIdentities": {
|
|
"description": "User Assigned Identities",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/UserAssignedIdentity"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ShippingAddress": {
|
|
"description": "Shipping address where customer wishes to receive the device.",
|
|
"properties": {
|
|
"addressType": {
|
|
"description": "Type of address.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"None",
|
|
"Residential",
|
|
"Commercial"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"city": {
|
|
"description": "Name of the City.",
|
|
"type": "string"
|
|
},
|
|
"companyName": {
|
|
"description": "Name of the company.",
|
|
"type": "string"
|
|
},
|
|
"country": {
|
|
"description": "Name of the Country.",
|
|
"type": "string"
|
|
},
|
|
"postalCode": {
|
|
"description": "Postal code.",
|
|
"type": "string"
|
|
},
|
|
"stateOrProvince": {
|
|
"description": "Name of the State or Province.",
|
|
"type": "string"
|
|
},
|
|
"streetAddress1": {
|
|
"description": "Street Address line 1.",
|
|
"type": "string"
|
|
},
|
|
"streetAddress2": {
|
|
"description": "Street Address line 2.",
|
|
"type": "string"
|
|
},
|
|
"streetAddress3": {
|
|
"description": "Street Address line 3.",
|
|
"type": "string"
|
|
},
|
|
"zipExtendedCode": {
|
|
"description": "Extended Zip Code.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"streetAddress1",
|
|
"country"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"Sku": {
|
|
"description": "The Sku.",
|
|
"properties": {
|
|
"displayName": {
|
|
"description": "The display name of the sku.",
|
|
"type": "string"
|
|
},
|
|
"family": {
|
|
"description": "The sku family.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The sku name.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"DataBox",
|
|
"DataBoxDisk",
|
|
"DataBoxHeavy",
|
|
"DataBoxCustomerDisk"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"TransferAllDetails": {
|
|
"description": "Details to transfer all data.",
|
|
"properties": {
|
|
"dataAccountType": {
|
|
"description": "Type of the account of data",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"StorageAccount",
|
|
"ManagedDisk"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"transferAllBlobs": {
|
|
"description": "To indicate if all Azure blobs have to be transferred",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"transferAllFiles": {
|
|
"description": "To indicate if all Azure Files have to be transferred",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"dataAccountType"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"TransferConfiguration": {
|
|
"description": "Configuration for defining the transfer of data.",
|
|
"properties": {
|
|
"transferAllDetails": {
|
|
"description": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/TransferConfigurationTransferAllDetails"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"transferConfigurationType": {
|
|
"description": "Type of the configuration for transfer.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"TransferAll",
|
|
"TransferUsingFilter"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"transferFilterDetails": {
|
|
"description": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/TransferConfigurationTransferFilterDetails"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"transferConfigurationType"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"TransferConfigurationTransferAllDetails": {
|
|
"description": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll",
|
|
"properties": {
|
|
"include": {
|
|
"description": "Details to transfer all data.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/TransferAllDetails"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TransferConfigurationTransferFilterDetails": {
|
|
"description": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter.",
|
|
"properties": {
|
|
"include": {
|
|
"description": "Details of the filtering the transfer of data.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/TransferFilterDetails"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TransferFilterDetails": {
|
|
"description": "Details of the filtering the transfer of data.",
|
|
"properties": {
|
|
"azureFileFilterDetails": {
|
|
"description": "Filter details to transfer Azure files.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/AzureFileFilterDetails"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"blobFilterDetails": {
|
|
"description": "Filter details to transfer blobs.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/BlobFilterDetails"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"dataAccountType": {
|
|
"description": "Type of the account of data.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"StorageAccount",
|
|
"ManagedDisk"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"filterFileDetails": {
|
|
"description": "Details of the filter files to be used for data transfer.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/FilterFileDetails"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"dataAccountType"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"TransportPreferences": {
|
|
"description": "Preferences related to the shipment logistics of the sku",
|
|
"properties": {
|
|
"preferredShipmentType": {
|
|
"description": "Indicates Shipment Logistics type that the customer preferred.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"CustomerManaged",
|
|
"MicrosoftManaged"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"preferredShipmentType"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"UserAssignedIdentity": {
|
|
"description": "Class defining User assigned identity details.",
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
"UserAssignedProperties": {
|
|
"description": "User assigned identity properties.",
|
|
"properties": {
|
|
"resourceId": {
|
|
"description": "Arm resource id for user assigned identity to be used to fetch MSI token.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
}
|
|
} |