diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-10-02/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-10-02/blob.json index 5b5120e173b0..9877890b4975 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-10-02/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-10-02/blob.json @@ -5202,6 +5202,9 @@ }, { "$ref": "#/parameters/CopySourceBlobProperties" + }, + { + "$ref": "#/parameters/CopySourceAuthorization" } ], "responses": { @@ -6892,6 +6895,9 @@ }, { "$ref": "#/parameters/LegalHoldOptional" + }, + { + "$ref": "#/parameters/CopySourceAuthorization" } ], "responses": { @@ -7472,6 +7478,9 @@ }, { "$ref": "#/parameters/ClientRequestId" + }, + { + "$ref": "#/parameters/CopySourceAuthorization" } ], "responses": { @@ -8265,6 +8274,9 @@ }, { "$ref": "#/parameters/ClientRequestId" + }, + { + "$ref": "#/parameters/CopySourceAuthorization" } ], "responses": { @@ -9198,6 +9210,9 @@ }, { "$ref": "#/parameters/ClientRequestId" + }, + { + "$ref": "#/parameters/CopySourceAuthorization" } ], "responses": { @@ -12097,6 +12112,15 @@ "x-ms-parameter-location": "method", "description": "Specifies the name of the source page blob snapshot. This value is a URL of up to 2 KB in length that specifies a page blob snapshot. The value should be URL-encoded as it would appear in a request URI. The source blob must either be public or must be authenticated via a shared access signature." }, + "CopySourceAuthorization": { + "name": "x-ms-copy-source-authorization", + "x-ms-client-name": "copySourceAuthorization", + "in": "header", + "required": false, + "type": "string", + "x-ms-parameter-location": "method", + "description": "Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source." + }, "CopySourceBlobProperties": { "name": "x-ms-copy-source-blob-properties", "x-ms-client-name": "copySourceBlobProperties", diff --git a/specification/storage/data-plane/Microsoft.FileStorage/preview/2020-10-02/file.json b/specification/storage/data-plane/Microsoft.FileStorage/preview/2020-10-02/file.json index 8cc63e267c42..db1891277f98 100644 --- a/specification/storage/data-plane/Microsoft.FileStorage/preview/2020-10-02/file.json +++ b/specification/storage/data-plane/Microsoft.FileStorage/preview/2020-10-02/file.json @@ -4333,6 +4333,9 @@ }, { "$ref": "#/parameters/LeaseIdOptional" + }, + { + "$ref": "#/parameters/CopySourceAuthorization" } ], "responses": { @@ -5719,6 +5722,15 @@ "x-ms-parameter-location": "method", "description": "Specifies the URL of the source file or blob, up to 2 KB in length. To copy a file to another file within the same storage account, you may use Shared Key to authenticate the source file. If you are copying a file from another storage account, or if you are copying a blob from the same storage account or another storage account, then you must authenticate the source file or blob using a shared access signature. If the source is a public blob, no authentication is required to perform the copy operation. A file in a share snapshot can also be specified as a copy source." }, + "CopySourceAuthorization": { + "name": "x-ms-copy-source-authorization", + "x-ms-client-name": "copySourceAuthorization", + "in": "header", + "required": false, + "type": "string", + "x-ms-parameter-location": "method", + "description": "Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source." + }, "FileCopyPermissionCopyMode": { "name": "x-ms-file-permission-copy-mode", "x-ms-client-name": "filePermissionCopyMode",