From 43f8ad6a41be6408fb2410080e8fa4714a690551 Mon Sep 17 00:00:00 2001 From: t-alaviammar Date: Mon, 21 Jun 2021 15:24:16 +0530 Subject: [PATCH 1/2] Added default values for parameters --- .../preview/2021-01-01/storageimportexport.json | 16 +++++++++++----- .../stable/2016-11-01/storageimportexport.json | 16 +++++++++++----- .../stable/2020-08-01/storageimportexport.json | 16 +++++++++++----- 3 files changed, 33 insertions(+), 15 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 From 18d3cc6f40c10b08c34b2cc4d8eeb4ca489fe790 Mon Sep 17 00:00:00 2001 From: t-alaviammar Date: Thu, 24 Jun 2021 13:42:28 +0530 Subject: [PATCH 2/2] added single multipath for go --- .../storageimportexport/resource-manager/readme.go.md | 5 ----- 1 file changed, 5 deletions(-) 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 ```