From f5c234f73cc9ebf4e01fac936125bf0ad073df79 Mon Sep 17 00:00:00 2001 From: Nitesh Vijay Date: Mon, 25 Apr 2022 16:32:49 +0530 Subject: [PATCH 1/4] Add Pause Resume API --- .../dataTransferService.json | 144 +++++++++++++++++- .../CosmosDBDataTransferJobCancel.json | 36 +++++ .../CosmosDBDataTransferJobCreate.json | 7 +- .../CosmosDBDataTransferJobFeed.json | 4 +- .../CosmosDBDataTransferJobGet.json | 4 +- .../CosmosDBDataTransferJobPause.json | 36 +++++ .../CosmosDBDataTransferJobResume.json | 36 +++++ 7 files changed, 261 insertions(+), 6 deletions(-) create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCancel.json create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobPause.json create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobResume.json diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/dataTransferService.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/dataTransferService.json index 384fc16891f4..aaaef4d25e8d 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/dataTransferService.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/dataTransferService.json @@ -69,6 +69,12 @@ } ], "responses": { + "200": { + "description": "Successful CreateJob response", + "schema": { + "$ref": "#/definitions/DataTransferJobGetResults" + } + }, "201": { "description": "Successful CreateJob response", "schema": { @@ -124,6 +130,132 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/dataTransferJobs/{jobName}/pause": { + "post": { + "operationId": "DataTransferJobs_Pause", + "description": "Pause a Data Transfer Job.", + "x-ms-examples": { + "CosmosDBDataTransferJobPause": { + "$ref": "./examples/data-transfer-service/CosmosDBDataTransferJobPause.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./cosmos-db.json#/parameters/accountNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/JobNameParameter" + } + ], + "responses": { + "200": { + "description": "Successful Pause Job response", + "schema": { + "$ref": "#/definitions/DataTransferJobGetResults" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "cosmos-db.json#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/dataTransferJobs/{jobName}/resume": { + "post": { + "operationId": "DataTransferJobs_Resume", + "description": "Resumes a Data Transfer Job.", + "x-ms-examples": { + "CosmosDBDataTransferJobCreate": { + "$ref": "./examples/data-transfer-service/CosmosDBDataTransferJobResume.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./cosmos-db.json#/parameters/accountNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/JobNameParameter" + } + ], + "responses": { + "200": { + "description": "Successful Resume Job response", + "schema": { + "$ref": "#/definitions/DataTransferJobGetResults" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "cosmos-db.json#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/dataTransferJobs/{jobName}/cancel": { + "post": { + "operationId": "DataTransferJobs_Cancel", + "description": "Cancels a Data Transfer Job.", + "x-ms-examples": { + "CosmosDBDataTransferJobCreate": { + "$ref": "./examples/data-transfer-service/CosmosDBDataTransferJobCancel.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./cosmos-db.json#/parameters/accountNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/JobNameParameter" + } + ], + "responses": { + "200": { + "description": "Successful Cancel Job response", + "schema": { + "$ref": "#/definitions/DataTransferJobGetResults" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "cosmos-db.json#/definitions/CloudError" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/dataTransferJobs": { "get": { "operationId": "DataTransferJobs_ListByDatabaseAccount", @@ -283,6 +415,16 @@ "type": "number", "description": "Percentage of completion." }, + "processedCount": { + "readOnly": true, + "type": "number", + "description": "Processed Count." + }, + "totalCount": { + "readOnly": true, + "type": "number", + "description": "Total Count." + }, "lastUpdatedUtcTime": { "readOnly": true, "type": "string", @@ -370,4 +512,4 @@ "description": "Name of the Data Transfer Job" } } -} +} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCancel.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCancel.json new file mode 100644 index 000000000000..44a94cdf6b14 --- /dev/null +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCancel.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "api-version": "2022-02-15-preview", + "subscriptionId": "subid", + "jobName": "j1" + } + }, + "responses": { + "200": { + "body": { + "id": "ab1b6f34-b33c-46b1-98c7-3a0a63fd0d16", + "type": "Microsoft.DocumentDB/databaseAccounts/dataTransferJobs", + "properties": { + "jobName": "j1", + "source": { + "tableName": "table", + "keyspaceName": "keyspace", + "component": "CosmosDBCassandra" + }, + "destination": { + "component": "AzureBlobStorage", + "containerName": "blob_container", + "endpointUrl": "https://blob.windows.net" + }, + "status": "Cancelled", + "percentageComplete": 20, + "processedCount": 20, + "totalCount": 100, + "lastUpdatedUtcTime": "2021-06-12T11:10:55.2780000Z" + } + } + } + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCreate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCreate.json index 8b4c9185bbc9..29d7c96959df 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCreate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCreate.json @@ -2,7 +2,7 @@ "parameters": { "accountName": "ddb1", "resourceGroupName": "rg1", - "api-version": "2020-10-15-preview", + "api-version": "2022-02-15-preview", "subscriptionId": "subid", "jobName": "j1", "jobCreateParameters": { @@ -21,7 +21,7 @@ } }, "responses": { - "201": { + "200": { "body": { "id": "ab1b6f34-b33c-46b1-98c7-3a0a63fd0d16", "type": "Microsoft.DocumentDB/databaseAccounts/dataTransferJobs", @@ -38,7 +38,8 @@ "endpointUrl": "https://blob.windows.net" }, "status": "Running", - "percentageComplete": 20, + "processedCount": 0, + "totalCount": 0, "lastUpdatedUtcTime": "2021-06-12T11:10:55.2780000Z" } } diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobFeed.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobFeed.json index acde9eaad111..06503ed267ba 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobFeed.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobFeed.json @@ -2,7 +2,7 @@ "parameters": { "accountName": "ddb1", "resourceGroupName": "rg1", - "api-version": "2020-10-15-preview", + "api-version": "2022-02-15-preview", "subscriptionId": "subid" }, "responses": { @@ -26,6 +26,8 @@ }, "status": "Completed", "percentageComplete": 100, + "processedCount": 100, + "totalCount": 100, "lastUpdatedUtcTime": "2021-06-12T12:04:23.1530000Z" } } diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobGet.json index 391734048ca1..7c7022ff5a48 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobGet.json @@ -2,7 +2,7 @@ "parameters": { "accountName": "ddb1", "resourceGroupName": "rg1", - "api-version": "2020-10-15-preview", + "api-version": "2022-02-15-preview", "subscriptionId": "subid", "jobName": "j1" }, @@ -25,6 +25,8 @@ }, "status": "Completed", "percentageComplete": 100, + "processedCount": 50, + "totalCount": 50, "lastUpdatedUtcTime": "2021-06-12T12:04:23.1530000Z" } } diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobPause.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobPause.json new file mode 100644 index 000000000000..cf380eb43693 --- /dev/null +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobPause.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "api-version": "2022-02-15-preview", + "subscriptionId": "subid", + "jobName": "j1" + } + }, + "responses": { + "200": { + "body": { + "id": "ab1b6f34-b33c-46b1-98c7-3a0a63fd0d16", + "type": "Microsoft.DocumentDB/databaseAccounts/dataTransferJobs", + "properties": { + "jobName": "j1", + "source": { + "tableName": "table", + "keyspaceName": "keyspace", + "component": "CosmosDBCassandra" + }, + "destination": { + "component": "AzureBlobStorage", + "containerName": "blob_container", + "endpointUrl": "https://blob.windows.net" + }, + "status": "Paused", + "percentageComplete": 20, + "processedCount": 20, + "totalCount": 100, + "lastUpdatedUtcTime": "2021-06-12T11:10:55.2780000Z" + } + } + } + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobResume.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobResume.json new file mode 100644 index 000000000000..64b528157f7c --- /dev/null +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobResume.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "api-version": "2022-04-15-preview", + "subscriptionId": "subid", + "jobName": "j1" + } + }, + "responses": { + "200": { + "body": { + "id": "ab1b6f34-b33c-46b1-98c7-3a0a63fd0d16", + "type": "Microsoft.DocumentDB/databaseAccounts/dataTransferJobs", + "properties": { + "jobName": "j1", + "source": { + "tableName": "table", + "keyspaceName": "keyspace", + "component": "CosmosDBCassandra" + }, + "destination": { + "component": "AzureBlobStorage", + "containerName": "blob_container", + "endpointUrl": "https://blob.windows.net" + }, + "status": "Pending", + "percentageComplete": 20, + "processedCount": 20, + "totalCount": 100, + "lastUpdatedUtcTime": "2021-06-12T11:10:55.2780000Z" + } + } + } + } +} From 186db1eab1b351a32d27b91a50ba42b5b282b106 Mon Sep 17 00:00:00 2001 From: Nitesh Vijay Date: Mon, 25 Apr 2022 17:39:14 +0530 Subject: [PATCH 2/4] Fix LintDiff --- .../data-transfer-service/CosmosDBDataTransferJobCancel.json | 1 - .../data-transfer-service/CosmosDBDataTransferJobPause.json | 1 - .../data-transfer-service/CosmosDBDataTransferJobResume.json | 1 - 3 files changed, 3 deletions(-) diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCancel.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCancel.json index 44a94cdf6b14..f2336c55adbb 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCancel.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCancel.json @@ -5,7 +5,6 @@ "api-version": "2022-02-15-preview", "subscriptionId": "subid", "jobName": "j1" - } }, "responses": { "200": { diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobPause.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobPause.json index cf380eb43693..d878b9c26697 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobPause.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobPause.json @@ -5,7 +5,6 @@ "api-version": "2022-02-15-preview", "subscriptionId": "subid", "jobName": "j1" - } }, "responses": { "200": { diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobResume.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobResume.json index 64b528157f7c..2b1576c3abd6 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobResume.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobResume.json @@ -5,7 +5,6 @@ "api-version": "2022-04-15-preview", "subscriptionId": "subid", "jobName": "j1" - } }, "responses": { "200": { From d2688d53d782f4209a42b34425b942671a973594 Mon Sep 17 00:00:00 2001 From: Nitesh Vijay Date: Mon, 25 Apr 2022 18:03:21 +0530 Subject: [PATCH 3/4] Fix responses --- .../2022-02-15-preview/dataTransferService.json | 11 ----------- .../CosmosDBDataTransferJobCancel.json | 1 - .../CosmosDBDataTransferJobCreate.json | 2 +- .../CosmosDBDataTransferJobFeed.json | 1 - .../CosmosDBDataTransferJobGet.json | 1 - .../CosmosDBDataTransferJobPause.json | 1 - .../CosmosDBDataTransferJobResume.json | 1 - 7 files changed, 1 insertion(+), 17 deletions(-) diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/dataTransferService.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/dataTransferService.json index aaaef4d25e8d..e6829145aca3 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/dataTransferService.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/dataTransferService.json @@ -75,12 +75,6 @@ "$ref": "#/definitions/DataTransferJobGetResults" } }, - "201": { - "description": "Successful CreateJob response", - "schema": { - "$ref": "#/definitions/DataTransferJobGetResults" - } - }, "default": { "description": "Error response describing why the operation failed.", "schema": { @@ -410,11 +404,6 @@ "type": "string", "description": "Job Status" }, - "percentageComplete": { - "readOnly": true, - "type": "number", - "description": "Percentage of completion." - }, "processedCount": { "readOnly": true, "type": "number", diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCancel.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCancel.json index f2336c55adbb..dc00ebfb478f 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCancel.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCancel.json @@ -24,7 +24,6 @@ "endpointUrl": "https://blob.windows.net" }, "status": "Cancelled", - "percentageComplete": 20, "processedCount": 20, "totalCount": 100, "lastUpdatedUtcTime": "2021-06-12T11:10:55.2780000Z" diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCreate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCreate.json index 29d7c96959df..d35739e22b0d 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCreate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCreate.json @@ -45,4 +45,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobFeed.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobFeed.json index 06503ed267ba..236f1eaab2c4 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobFeed.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobFeed.json @@ -25,7 +25,6 @@ "containerName": "blob_container" }, "status": "Completed", - "percentageComplete": 100, "processedCount": 100, "totalCount": 100, "lastUpdatedUtcTime": "2021-06-12T12:04:23.1530000Z" diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobGet.json index 7c7022ff5a48..114a2cf1f97f 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobGet.json @@ -24,7 +24,6 @@ "containerName": "blob_container" }, "status": "Completed", - "percentageComplete": 100, "processedCount": 50, "totalCount": 50, "lastUpdatedUtcTime": "2021-06-12T12:04:23.1530000Z" diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobPause.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobPause.json index d878b9c26697..1bf649de1d83 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobPause.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobPause.json @@ -24,7 +24,6 @@ "endpointUrl": "https://blob.windows.net" }, "status": "Paused", - "percentageComplete": 20, "processedCount": 20, "totalCount": 100, "lastUpdatedUtcTime": "2021-06-12T11:10:55.2780000Z" diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobResume.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobResume.json index 2b1576c3abd6..50fc4a6f8d1d 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobResume.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobResume.json @@ -24,7 +24,6 @@ "endpointUrl": "https://blob.windows.net" }, "status": "Pending", - "percentageComplete": 20, "processedCount": 20, "totalCount": 100, "lastUpdatedUtcTime": "2021-06-12T11:10:55.2780000Z" From df6b95456fcb35674d2e7aa2949b4e4e0776ed7d Mon Sep 17 00:00:00 2001 From: Nitesh Vijay Date: Mon, 25 Apr 2022 21:39:30 +0530 Subject: [PATCH 4/4] Fix prettier --- .../preview/2022-02-15-preview/dataTransferService.json | 2 +- .../data-transfer-service/CosmosDBDataTransferJobCreate.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/dataTransferService.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/dataTransferService.json index e6829145aca3..1da0611a5dec 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/dataTransferService.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/dataTransferService.json @@ -501,4 +501,4 @@ "description": "Name of the Data Transfer Job" } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCreate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCreate.json index d35739e22b0d..29d7c96959df 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCreate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-02-15-preview/examples/data-transfer-service/CosmosDBDataTransferJobCreate.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +}