From 6e9525eb260470229ef8c5bf771b1e9ad3fd9202 Mon Sep 17 00:00:00 2001 From: t-ammar <83069483+t-ammar@users.noreply.github.com> Date: Tue, 13 Jul 2021 07:34:12 +0530 Subject: [PATCH] Added default values for parameters for Import Export (#14907) * Added default values for parameters * added single multipath for go --- .../preview/2021-01-01/storageimportexport.json | 16 +++++++++++----- .../stable/2016-11-01/storageimportexport.json | 16 +++++++++++----- .../stable/2020-08-01/storageimportexport.json | 16 +++++++++++----- .../resource-manager/readme.go.md | 5 ----- 4 files changed, 33 insertions(+), 20 deletions(-) diff --git a/specification/storageimportexport/resource-manager/Microsoft.ImportExport/preview/2021-01-01/storageimportexport.json b/specification/storageimportexport/resource-manager/Microsoft.ImportExport/preview/2021-01-01/storageimportexport.json index 2eacf5aaf275..bc26383f5be9 100644 --- a/specification/storageimportexport/resource-manager/Microsoft.ImportExport/preview/2021-01-01/storageimportexport.json +++ b/specification/storageimportexport/resource-manager/Microsoft.ImportExport/preview/2021-01-01/storageimportexport.json @@ -654,15 +654,18 @@ }, "backupDriveManifest": { "type": "boolean", - "description": "Default value is false. Indicates whether the manifest files on the drives should be copied to block blobs." + "description": "Default value is false. Indicates whether the manifest files on the drives should be copied to block blobs.", + "default": false }, "state": { "type": "string", - "description": "Current state of the job." + "description": "Current state of the job.", + "default": "Creating" }, "cancelRequested": { "type": "boolean", - "description": "Indicates whether a request has been submitted to cancel the job." + "description": "Indicates whether a request has been submitted to cancel the job.", + "default": false }, "percentComplete": { "type": "integer", @@ -761,7 +764,8 @@ "properties": { "cancelRequested": { "type": "boolean", - "description": "If specified, the value must be true. The service will attempt to cancel the job. " + "description": "If specified, the value must be true. The service will attempt to cancel the job. ", + "default": false }, "state": { "type": "string", @@ -785,7 +789,8 @@ }, "backupDriveManifest": { "type": "boolean", - "description": "Indicates whether the manifest files on the drives should be copied to block blobs." + "description": "Indicates whether the manifest files on the drives should be copied to block blobs.", + "default": false }, "driveList": { "description": "List of drives that comprise the job.", @@ -1163,6 +1168,7 @@ "CompletedMoreInfo", "ShippedBack" ], + "default": "Specified", "x-ms-enum": { "name": "DriveState", "modelAsString": true diff --git a/specification/storageimportexport/resource-manager/Microsoft.ImportExport/stable/2016-11-01/storageimportexport.json b/specification/storageimportexport/resource-manager/Microsoft.ImportExport/stable/2016-11-01/storageimportexport.json index 7e72860e59ae..da06b26d0012 100644 --- a/specification/storageimportexport/resource-manager/Microsoft.ImportExport/stable/2016-11-01/storageimportexport.json +++ b/specification/storageimportexport/resource-manager/Microsoft.ImportExport/stable/2016-11-01/storageimportexport.json @@ -684,15 +684,18 @@ }, "backupDriveManifest": { "type": "boolean", - "description": "Default value is false. Indicates whether the manifest files on the drives should be copied to block blobs." + "description": "Default value is false. Indicates whether the manifest files on the drives should be copied to block blobs.", + "default": false }, "state": { "type": "string", - "description": "Current state of the job." + "description": "Current state of the job.", + "default": "Creating" }, "cancelRequested": { "type": "boolean", - "description": "Indicates whether a request has been submitted to cancel the job." + "description": "Indicates whether a request has been submitted to cancel the job.", + "default": false }, "percentComplete": { "type": "integer", @@ -791,7 +794,8 @@ "properties": { "cancelRequested": { "type": "boolean", - "description": "If specified, the value must be true. The service will attempt to cancel the job. " + "description": "If specified, the value must be true. The service will attempt to cancel the job. ", + "default": false }, "state": { "type": "string", @@ -815,7 +819,8 @@ }, "backupDriveManifest": { "type": "boolean", - "description": "Indicates whether the manifest files on the drives should be copied to block blobs." + "description": "Indicates whether the manifest files on the drives should be copied to block blobs.", + "default": false }, "driveList": { "description": "List of drives that comprise the job.", @@ -1193,6 +1198,7 @@ "CompletedMoreInfo", "ShippedBack" ], + "default": "Specified", "x-ms-enum": { "name": "DriveState", "modelAsString": true diff --git a/specification/storageimportexport/resource-manager/Microsoft.ImportExport/stable/2020-08-01/storageimportexport.json b/specification/storageimportexport/resource-manager/Microsoft.ImportExport/stable/2020-08-01/storageimportexport.json index f50737dbef1b..61fa46306e78 100644 --- a/specification/storageimportexport/resource-manager/Microsoft.ImportExport/stable/2020-08-01/storageimportexport.json +++ b/specification/storageimportexport/resource-manager/Microsoft.ImportExport/stable/2020-08-01/storageimportexport.json @@ -684,15 +684,18 @@ }, "backupDriveManifest": { "type": "boolean", - "description": "Default value is false. Indicates whether the manifest files on the drives should be copied to block blobs." + "description": "Default value is false. Indicates whether the manifest files on the drives should be copied to block blobs.", + "default": false }, "state": { "type": "string", - "description": "Current state of the job." + "description": "Current state of the job.", + "default": "Creating" }, "cancelRequested": { "type": "boolean", - "description": "Indicates whether a request has been submitted to cancel the job." + "description": "Indicates whether a request has been submitted to cancel the job.", + "default": false }, "percentComplete": { "type": "integer", @@ -791,7 +794,8 @@ "properties": { "cancelRequested": { "type": "boolean", - "description": "If specified, the value must be true. The service will attempt to cancel the job. " + "description": "If specified, the value must be true. The service will attempt to cancel the job. ", + "default": false }, "state": { "type": "string", @@ -815,7 +819,8 @@ }, "backupDriveManifest": { "type": "boolean", - "description": "Indicates whether the manifest files on the drives should be copied to block blobs." + "description": "Indicates whether the manifest files on the drives should be copied to block blobs.", + "default": false }, "driveList": { "description": "List of drives that comprise the job.", @@ -1193,6 +1198,7 @@ "CompletedMoreInfo", "ShippedBack" ], + "default": "Specified", "x-ms-enum": { "name": "DriveState", "modelAsString": true diff --git a/specification/storageimportexport/resource-manager/readme.go.md b/specification/storageimportexport/resource-manager/readme.go.md index c0260f48339b..013855e81f58 100644 --- a/specification/storageimportexport/resource-manager/readme.go.md +++ b/specification/storageimportexport/resource-manager/readme.go.md @@ -14,11 +14,6 @@ go: ``` yaml $(go) && $(multiapi) batch: - tag: package-2016-11 -``` -or - -``` yaml $(go) && $(multiapi) -batch: - tag: package-2020-08 ```