Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -397,11 +397,11 @@
},
"x-ms-long-running-operation": true,
"x-ms-examples": {
"JobsDelete": {
"$ref": "./examples/JobsDelete.json"
}
"JobsDelete": {
"$ref": "./examples/JobsDelete.json"
}
},
}
},
"patch": {
"tags": [
"Jobs"
Expand Down Expand Up @@ -455,11 +455,11 @@
}
},
"x-ms-long-running-operation": true,
"x-ms-examples": {
"JobsPatch": {
"$ref": "./examples/JobsPatch.json"
}
"x-ms-examples": {
"JobsPatch": {
"$ref": "./examples/JobsPatch.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/bookShipmentPickUp": {
Expand Down Expand Up @@ -555,10 +555,10 @@
}
},
"x-ms-examples": {
"JobsCancelPost": {
"$ref": "./examples/JobsCancelPost.json"
}
"JobsCancelPost": {
"$ref": "./examples/JobsCancelPost.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/listCredentials": {
Expand Down Expand Up @@ -921,6 +921,18 @@
"description": "Total amount of data to be processed by the job.",
"type": "integer",
"readOnly": true
},
"filesProcessed": {
"format": "int64",
"description": "Number of files processed",
"type": "integer",
"readOnly": true
},
"totalFilesToProcess": {
"format": "int64",
"description": "Total files to process",
Comment thread
saran94 marked this conversation as resolved.
Outdated
"type": "integer",
"readOnly": true
}
}
},
Expand Down Expand Up @@ -1307,17 +1319,177 @@
}
},
"DestinationAccountDetails": {
"description": "Details for the destination account.",
"description": "Details of the destination of the data",
"required": [
"accountId"
"dataDestinationType"
],
"type": "object",
"properties": {
"dataDestinationType": {
"description": "Data Destination Type.",
"enum": [
"UnknownType",
"StorageAccount",
"ManagedDisk"
],
"type": "string",
"x-ms-enum": {
"name": "DataDestinationType",
"modelAsExtensible": true,
"values": [
{
"value": "UnknownType",
"description": "Unknown type."
},
{
"value": "StorageAccount",
"description": "Storage Accounts ."
},
{
"value": "ManagedDisk",
"description": "Azure Managed disk storage."
}
]
}
},
"accountId": {
"description": "Destination storage account id.",
"description": "Arm Id of the destination where the data has to be moved.",
"type": "string"
}
}
},
"discriminator": "dataDestinationType"
},
"DestinationManagedDiskDetails": {
"description": "Details for the destination compute disks.",
"required": [
"resourceGroupId",
"stagingStorageAccountId",
"dataDestinationType"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/DestinationAccountDetails"
}
],
"properties": {
"resourceGroupId": {
"description": "Destination Resource Group Id where the Compute disks should be created.",
"type": "string"
},
"stagingStorageAccountId": {
"description": "Arm Id of the storage account that can be used to copy the vhd for staging.",
"type": "string"
}
},
"x-ms-discriminator-value": "ManagedDisk"
},
"DestinationStorageAccountDetails": {
"description": "Details for the destination storage account.",
"required": [
"storageAccountId",
"dataDestinationType"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/DestinationAccountDetails"
}
],
"properties": {
"storageAccountId": {
"description": "Destination Storage Account Arm Id.",
"type": "string"
},
"alternateAccountId": {
Comment thread
saran94 marked this conversation as resolved.
Outdated
"description": "Alternate Destination storage account id. AccountId will be replaced with this if sharedAccessSignature is passed.",
"type": "string"
},
"sharedAccessSignature": {
"description": "Shared access signature for the storage account.",
"type": "string"
},
"accountType": {
"description": "Account type.",
"enum": [
"UnknownType",
"GeneralPurposeStorage",
"BlobStorage"
],
"type": "string",
"x-ms-enum": {
"name": "AccountType",
"modelAsExtensible": true,
"values": [
{
"value": "UnknownType"
},
{
"value": "GeneralPurposeStorage",
"description": "General-purpose Storage Account gives access to Azure Storage services such as Tables, Queues, Files, Blobs and Azure virtual machine disks "
},
{
"value": "BlobStorage",
"description": "Blob Storage Account is a specialized storage account for storing unstructured data as blobs (objects) "
}
]
}
},
"storageAccessTier": {
"description": "Access tier of the account.",
"enum": [
"Invalid",
"Hot",
"Cool",
"Cold"
],
"type": "string",
"x-ms-enum": {
"name": "AccessTier",
"modelAsExtensible": true,
"values": [
{
"value": "Invalid"
},
{
"value": "Hot",
"description": "Hot Access tier for storage account"
},
{
"value": "Cool",
"description": "Cool Access tier for storage account"
},
{
"value": "Cold",
"description": "Cold Access tier for storage account"
}
]
}
},
"storagePerformanceTier": {
"description": "Performance tier of the account.",
"enum": [
"Standard",
"Premium"
],
"type": "string",
"x-ms-enum": {
"name": "PerformanceTier",
"modelAsExtensible": true,
"values": [
{
"value": "Standard",
"description": "Standard performance tier for storage account"
},
{
"value": "Premium",
"description": "Premium performance tier for storage account"
}
]
}
}
},
"x-ms-discriminator-value": "StorageAccount"
},
"DestinationToServiceLocationMap": {
"description": "Map of destination location to service location",
Expand Down Expand Up @@ -2438,6 +2610,10 @@
{
"value": "OfferType",
"description": "Subscription does not have required offer types for the SKU."
},
{
"value": "NoSubscriptionInfo",
"description": "Subscription has not registered to Microsoft.DataBox and Service does not have the subscription notification."
}
]
}
Expand Down