From babe3de1585f3470fe6972cbfdc6267699d27426 Mon Sep 17 00:00:00 2001 From: Xiaoxi Fu <49707495+xiafu-msft@users.noreply.github.com> Date: Tue, 6 Oct 2020 20:18:09 -0700 Subject: [PATCH] [Storage][FileShare]Regenerate code for file tier (#14302) * [Storage][FileShare]Regenerate code for file tier * [Storage][FileShare]Re-record --- .../_share_operations_async.py | 25 +- .../fileshare/_generated/models/__init__.py | 2 + .../models/_azure_file_storage_enums.py | 7 + .../fileshare/_generated/models/_models.py | 12 + .../_generated/models/_models_py3.py | 14 +- .../operations/_share_operations.py | 25 +- .../azure/storage/fileshare/_share_client.py | 2 +- .../fileshare/aio/_share_client_async.py | 2 +- ..._share.test_restore_to_existing_share.yaml | 262 ++++-------------- .../test_share.test_undelete_share.yaml | 223 +++++---------- ..._async.test_restore_to_existing_share.yaml | 201 +++++--------- .../test_share_async.test_undelete_share.yaml | 205 +++++--------- 12 files changed, 320 insertions(+), 660 deletions(-) diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/aio/operations_async/_share_operations_async.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/aio/operations_async/_share_operations_async.py index 915f757fc7c8..9834f1ed0b34 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/aio/operations_async/_share_operations_async.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/aio/operations_async/_share_operations_async.py @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: self._config = config self.restype = "share" - async def create(self, timeout=None, metadata=None, quota=None, *, cls=None, **kwargs): + async def create(self, timeout=None, metadata=None, quota=None, access_tier=None, *, cls=None, **kwargs): """Creates a new share under the specified account. If the share with the same name already exists, the operation fails. @@ -51,6 +51,10 @@ async def create(self, timeout=None, metadata=None, quota=None, *, cls=None, **k :type metadata: str :param quota: Specifies the maximum size of the share, in gigabytes. :type quota: int + :param access_tier: Specifies the access tier of the share. Possible + values include: 'TransactionOptimized', 'Hot', 'Cool' + :type access_tier: str or + ~azure.storage.fileshare.models.ShareAccessTier :param callable cls: A custom type or function that will be passed the direct response :return: None or the result of cls(response) @@ -78,6 +82,8 @@ async def create(self, timeout=None, metadata=None, quota=None, *, cls=None, **k header_parameters['x-ms-meta'] = self._serialize.header("metadata", metadata, 'str') if quota is not None: header_parameters['x-ms-share-quota'] = self._serialize.header("quota", quota, 'int', minimum=1) + if access_tier is not None: + header_parameters['x-ms-access-tier'] = self._serialize.header("access_tier", access_tier, 'str') header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') # Construct and send request @@ -176,6 +182,9 @@ async def get_properties(self, sharesnapshot=None, timeout=None, lease_access_co 'x-ms-lease-duration': self._deserialize(models.LeaseDurationType, response.headers.get('x-ms-lease-duration')), 'x-ms-lease-state': self._deserialize(models.LeaseStateType, response.headers.get('x-ms-lease-state')), 'x-ms-lease-status': self._deserialize(models.LeaseStatusType, response.headers.get('x-ms-lease-status')), + 'x-ms-access-tier': self._deserialize('str', response.headers.get('x-ms-access-tier')), + 'x-ms-access-tier-change-time': self._deserialize('rfc-1123', response.headers.get('x-ms-access-tier-change-time')), + 'x-ms-access-tier-transition-state': self._deserialize('str', response.headers.get('x-ms-access-tier-transition-state')), 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), } return cls(response, None, response_headers) @@ -868,8 +877,8 @@ async def get_permission(self, file_permission_key, timeout=None, *, cls=None, * return deserialized get_permission.metadata = {'url': '/{shareName}'} - async def set_quota(self, timeout=None, quota=None, lease_access_conditions=None, *, cls=None, **kwargs): - """Sets quota for the specified share. + async def set_properties(self, timeout=None, quota=None, access_tier=None, lease_access_conditions=None, *, cls=None, **kwargs): + """Sets properties for the specified share. :param timeout: The timeout parameter is expressed in seconds. For more information, see None: + def __init__(self, *, last_modified, etag: str, quota: int, provisioned_iops: int=None, provisioned_ingress_mbps: int=None, provisioned_egress_mbps: int=None, next_allowed_quota_downgrade_time=None, deleted_time=None, remaining_retention_days: int=None, access_tier: str=None, access_tier_change_time=None, access_tier_transition_state: str=None, lease_status=None, lease_state=None, lease_duration=None, **kwargs) -> None: super(ShareProperties, self).__init__(**kwargs) self.last_modified = last_modified self.etag = etag @@ -817,6 +826,9 @@ def __init__(self, *, last_modified, etag: str, quota: int, provisioned_iops: in self.next_allowed_quota_downgrade_time = next_allowed_quota_downgrade_time self.deleted_time = deleted_time self.remaining_retention_days = remaining_retention_days + self.access_tier = access_tier + self.access_tier_change_time = access_tier_change_time + self.access_tier_transition_state = access_tier_transition_state self.lease_status = lease_status self.lease_state = lease_state self.lease_duration = lease_duration diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/operations/_share_operations.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/operations/_share_operations.py index 5e1bbb6325e8..3e26c16a451f 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/operations/_share_operations.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/operations/_share_operations.py @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._config = config self.restype = "share" - def create(self, timeout=None, metadata=None, quota=None, cls=None, **kwargs): + def create(self, timeout=None, metadata=None, quota=None, access_tier=None, cls=None, **kwargs): """Creates a new share under the specified account. If the share with the same name already exists, the operation fails. @@ -51,6 +51,10 @@ def create(self, timeout=None, metadata=None, quota=None, cls=None, **kwargs): :type metadata: str :param quota: Specifies the maximum size of the share, in gigabytes. :type quota: int + :param access_tier: Specifies the access tier of the share. Possible + values include: 'TransactionOptimized', 'Hot', 'Cool' + :type access_tier: str or + ~azure.storage.fileshare.models.ShareAccessTier :param callable cls: A custom type or function that will be passed the direct response :return: None or the result of cls(response) @@ -78,6 +82,8 @@ def create(self, timeout=None, metadata=None, quota=None, cls=None, **kwargs): header_parameters['x-ms-meta'] = self._serialize.header("metadata", metadata, 'str') if quota is not None: header_parameters['x-ms-share-quota'] = self._serialize.header("quota", quota, 'int', minimum=1) + if access_tier is not None: + header_parameters['x-ms-access-tier'] = self._serialize.header("access_tier", access_tier, 'str') header_parameters['x-ms-version'] = self._serialize.header("self._config.version", self._config.version, 'str') # Construct and send request @@ -176,6 +182,9 @@ def get_properties(self, sharesnapshot=None, timeout=None, lease_access_conditio 'x-ms-lease-duration': self._deserialize(models.LeaseDurationType, response.headers.get('x-ms-lease-duration')), 'x-ms-lease-state': self._deserialize(models.LeaseStateType, response.headers.get('x-ms-lease-state')), 'x-ms-lease-status': self._deserialize(models.LeaseStatusType, response.headers.get('x-ms-lease-status')), + 'x-ms-access-tier': self._deserialize('str', response.headers.get('x-ms-access-tier')), + 'x-ms-access-tier-change-time': self._deserialize('rfc-1123', response.headers.get('x-ms-access-tier-change-time')), + 'x-ms-access-tier-transition-state': self._deserialize('str', response.headers.get('x-ms-access-tier-transition-state')), 'x-ms-error-code': self._deserialize('str', response.headers.get('x-ms-error-code')), } return cls(response, None, response_headers) @@ -868,8 +877,8 @@ def get_permission(self, file_permission_key, timeout=None, cls=None, **kwargs): return deserialized get_permission.metadata = {'url': '/{shareName}'} - def set_quota(self, timeout=None, quota=None, lease_access_conditions=None, cls=None, **kwargs): - """Sets quota for the specified share. + def set_properties(self, timeout=None, quota=None, access_tier=None, lease_access_conditions=None, cls=None, **kwargs): + """Sets properties for the specified share. :param timeout: The timeout parameter is expressed in seconds. For more information, see ShareNotFoundThe - specified share does not exist.\nRequestId:ebd69b17-501a-009d-3292-28049b000000\nTime:2020-05-12T19:18:27.0997404Z" + specified share does not exist.\nRequestId:3e9d867d-201a-002e-764e-9c1fb7000000\nTime:2020-10-07T02:03:17.9051321Z" headers: content-length: - '217' content-type: - application/xml date: - - Tue, 12 May 2020 19:18:26 GMT + - Wed, 07 Oct 2020 02:03:17 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-error-code: - ShareNotFound x-ms-version: - - '2019-12-12' + - '2020-02-10' status: code: 404 message: The specified share does not exist. @@ -120,11 +120,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 12 May 2020 19:18:57 GMT + - Wed, 07 Oct 2020 02:03:48 GMT x-ms-version: - - '2019-12-12' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/share647b1102?restype=share response: @@ -134,15 +134,15 @@ interactions: content-length: - '0' date: - - Tue, 12 May 2020 19:18:57 GMT + - Wed, 07 Oct 2020 02:03:47 GMT etag: - - '"0x8D7F6A9516B1701"' + - '"0x8D86A653AA236A4"' last-modified: - - Tue, 12 May 2020 19:18:57 GMT + - Wed, 07 Oct 2020 02:03:48 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: - - '2019-12-12' + - '2020-02-10' status: code: 201 message: Created @@ -156,111 +156,37 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 12 May 2020 19:18:57 GMT + - Wed, 07 Oct 2020 02:03:48 GMT x-ms-version: - - '2019-12-12' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/?include=deleted&comp=list response: body: string: "\uFEFFexisting647b1102Mon, - 11 May 2020 18:54:32 GMT\"0x8D7F5DCBE38249A\"5120TransactionOptimized5/11/2020 - 6:54:32 PM$account-encryption-keyfalseshare647b1102true01D627C59E076480Mon, - 11 May 2020 18:54:36 GMT\"0x8D7F5DCC07E0DE1\"5120TransactionOptimized5/11/2020 - 6:54:36 PM$account-encryption-keyfalseMon, - 11 May 2020 18:54:37 GMT0share647b1102true01D62891F1043495Tue, - 12 May 2020 19:17:13 GMT\"0x8D7F6A9137AA752\"5120TransactionOptimized5/12/2020 - 7:17:13 PM$account-encryption-keyfalseTue, - 12 May 2020 19:17:13 GMT1share647b1102true01D628921CE6979FTue, - 12 May 2020 19:18:26 GMT\"0x8D7F6A93F5D64D2\"5120TransactionOptimized5/12/2020 - 7:18:26 PM$account-encryption-keyfalseTue, - 12 May 2020 19:18:27 GMT1share647b1102Tue, - 12 May 2020 19:18:57 GMT\"0x8D7F6A9516B1701\"5120TransactionOptimized5/12/2020 - 7:18:57 PM$account-encryption-keyfalsesharebed60c48true01D627C52CEB52B9Mon, - 11 May 2020 18:51:26 GMT\"0x8D7F5DC4F61D21E\"5120TransactionOptimized$account-encryption-keyfalseMon, - 11 May 2020 18:51:27 GMT0sharebed60c48true01D627C55A0F445CMon, - 11 May 2020 18:52:42 GMT\"0x8D7F5DC7C85BE7B\"5120TransactionOptimized5/11/2020 - 6:52:42 PM$account-encryption-keyfalseMon, - 11 May 2020 18:52:43 GMT0sharebed60c48true01D627C7129D400EMon, - 11 May 2020 19:05:01 GMT\"0x8D7F5DE35139BF9\"5120TransactionOptimized5/11/2020 - 7:05:01 PM$account-encryption-keyfalseMon, - 11 May 2020 19:05:03 GMT0sharebed60c48true01D627C7601CFB2FMon, - 11 May 2020 19:07:11 GMT\"0x8D7F5DE82937C31\"5120TransactionOptimized5/11/2020 - 7:07:11 PM$account-encryption-keyfalseMon, - 11 May 2020 19:09:04 GMT0sharebed60c48true01D627C7FD80E72AMon, - 11 May 2020 19:11:35 GMT\"0x8D7F5DF1FF787C6\"5120TransactionOptimized5/11/2020 - 7:11:35 PM$account-encryption-keyfalseMon, - 11 May 2020 19:11:47 GMT0sharebed60c48true01D627DF1C7AB73EMon, - 11 May 2020 21:57:06 GMT\"0x8D7F5F63EF11C0D\"5120TransactionOptimized5/11/2020 - 9:57:06 PM$account-encryption-keyfalseMon, - 11 May 2020 21:59:02 GMT0sharebed60c48true01D627E6E3F182B7Mon, - 11 May 2020 22:52:47 GMT\"0x8D7F5FE0667FD31\"5120TransactionOptimized5/11/2020 - 10:52:47 PM$account-encryption-keyfalseMon, - 11 May 2020 22:53:07 GMT0sharerestorebed60c48Tue, - 12 May 2020 01:27:19 GMT\"0x8D7F6139D00A95F\"5120TransactionOptimized5/12/2020 - 1:26:19 AM$account-encryption-keyfalsesharetorestorebed60c48true01D627FC3CC9AC5BTue, - 12 May 2020 01:25:35 GMT\"0x8D7F6135F406102\"5120TransactionOptimized5/12/2020 - 1:25:35 AM$account-encryption-keyfalseTue, - 12 May 2020 01:25:36 GMT0test-share-04423526-abc3-44c9-aa2e-540f6eecac0dSun, - 12 Apr 2020 18:42:18 GMT\"0x8D7DF113AB0D452\"5120TransactionOptimized$account-encryption-keyfalsetest-share-3754bd7d-b2e4-4079-a97e-a3b9afc1648cSat, - 11 Apr 2020 17:58:03 GMT\"0x8D7DE41E1D75DB4\"5120TransactionOptimized$account-encryption-keyfalsetest-share-6214a335-a4b0-498c-9995-1e50b6bb50a2Sat, - 11 Apr 2020 17:57:43 GMT\"0x8D7DE41D5B0D211\"5120TransactionOptimized$account-encryption-keyfalsetest-share-659cd252-38f3-43aa-8092-750973358be5Sun, - 12 Apr 2020 18:14:14 GMT\"0x8D7DF0D4EBB62F2\"5120TransactionOptimized$account-encryption-keyfalsetest-share-6a598cdf-2116-4754-9b02-632b3399255ctrue01D627C9821CFD41Mon, - 11 May 2020 19:22:27 GMT\"0x8D7F5E0A49437CC\"5120TransactionOptimized5/11/2020 - 7:21:57 PM$account-encryption-keyfalseMon, - 11 May 2020 19:22:28 GMT0test-share-6d528e3f-219f-44f9-b80b-3d2248cce9f3Sat, - 11 Apr 2020 17:58:24 GMT\"0x8D7DE41EDFB7785\"5120TransactionOptimized$account-encryption-keyfalsetest-share-6fe76ac5-709b-4678-b55e-47e717c1d943Sun, - 12 Apr 2020 18:24:45 GMT\"0x8D7DF0EC69BCDD4\"5120TransactionOptimized$account-encryption-keyfalsetest-share-745c2b22-c95a-4019-a1cf-df95f0cb7db9Sun, - 12 Apr 2020 18:42:49 GMT\"0x8D7DF114CDCA126\"5120TransactionOptimized$account-encryption-keyfalsetest-share-75a46ce4-c649-4e6f-8f2e-5e5c387615fatrue01D627C96FD67788Mon, - 11 May 2020 19:21:57 GMT\"0x8D7F5E0924DB393\"5120TransactionOptimized5/11/2020 - 7:21:26 PM$account-encryption-keyfalseMon, - 11 May 2020 19:21:57 GMT0test-share-7e386df5-7d6b-4fcf-b23d-9e7dd2c13a2bSun, - 12 Apr 2020 18:23:37 GMT\"0x8D7DF0E9E44C712\"5120TransactionOptimized$account-encryption-keyfalsetest-share-93210600-6d3f-49e4-8e87-7e6947c23b8bSat, - 11 Apr 2020 17:57:33 GMT\"0x8D7DE41CF6BC1E8\"5120TransactionOptimized$account-encryption-keyfalsetest-share-ba5d06e0-c1d4-41b7-8876-7aef01d366a7Sat, - 11 Apr 2020 17:57:53 GMT\"0x8D7DE41DBC30637\"5120TransactionOptimized$account-encryption-keyfalsetest-share-bed60c48true01D627CAB29A32B1Mon, - 11 May 2020 19:30:58 GMT\"0x8D7F5E1D510E716\"5120TransactionOptimized5/11/2020 - 7:30:58 PM$account-encryption-keyfalseMon, - 11 May 2020 19:31:13 GMT0test-share-bed60c48true01D627CB92F7C53BMon, - 11 May 2020 19:37:15 GMT\"0x8D7F5E2B56E6EC3\"5120TransactionOptimized5/11/2020 - 7:37:15 PM$account-encryption-keyfalseMon, - 11 May 2020 19:37:17 GMT0test-share-bed60c48true01D627CBA8F69588Mon, - 11 May 2020 19:37:52 GMT\"0x8D7F5E2CB6D3D46\"5120TransactionOptimized5/11/2020 - 7:37:52 PM$account-encryption-keyfalseMon, - 11 May 2020 19:37:53 GMT0test-share-bed60c48Mon, - 11 May 2020 19:38:41 GMT\"0x8D7F5E2E8A4F4E3\"5120TransactionOptimized5/11/2020 - 7:30:04 PM$account-encryption-keyfalsetest-share-bffb30c0-47cc-4cd0-b3b4-6c560832c136Sun, - 12 Apr 2020 18:44:28 GMT\"0x8D7DF11881FBCE1\"5120TransactionOptimized$account-encryption-keyfalsetest-share-ce14a14c-6463-4bad-bedc-bedf7388d692Sat, - 11 Apr 2020 17:58:14 GMT\"0x8D7DE41E7E8F550\"5120TransactionOptimized$account-encryption-keyfalsetest-share-e21b1b2a-eaa6-4f88-928f-449387ef5cb9Sun, - 12 Apr 2020 18:13:43 GMT\"0x8D7DF0D3C81621C\"5120TransactionOptimized$account-encryption-keyfalse\"0x8D7F5D973C38650\"unlockedavailable5120TransactionOptimized$account-encryption-keyfalseexistingbed60c48Mon, + 11 May 2020 17:36:05 GMT\"0x8D7F5D1C82848E3\"unlockedavailable5120TransactionOptimizedMon, + 11 May 2020 17:36:05 GMT$account-encryption-keyfalseshare647b1102true01D69C4E05E0F6C1Wed, + 07 Oct 2020 02:03:17 GMT\"0x8D86A6528428E2C\"unlockedbroken5120TransactionOptimizedWed, + 07 Oct 2020 02:03:17 GMT$account-encryption-keyfalseWed, + 07 Oct 2020 02:03:17 GMT7share647b1102Wed, + 07 Oct 2020 02:03:48 GMT\"0x8D86A653AA236A4\"unlockedavailable5120TransactionOptimizedWed, + 07 Oct 2020 02:03:48 GMT$account-encryption-keyfalse" headers: content-type: - application/xml date: - - Tue, 12 May 2020 19:18:57 GMT + - Wed, 07 Oct 2020 02:03:47 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2019-12-12' + - '2020-02-10' status: code: 200 message: OK @@ -276,121 +202,35 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 12 May 2020 19:18:57 GMT + - Wed, 07 Oct 2020 02:03:48 GMT x-ms-deleted-share-name: - - /share647b1102 + - share647b1102 x-ms-deleted-share-version: - - 01D627C59E076480 + - 01D69C4E05E0F6C1 x-ms-version: - - '2019-12-12' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/share647b1102?restype=share&comp=undelete response: body: - string: "\uFEFFInvalidHeaderValueThe - value for one of the HTTP headers is not in the correct format.\nRequestId:ebd69b46-501a-009d-3e92-28049b000000\nTime:2020-05-12T19:18:57.5706606Zx-ms-deleted-share-name/share647b1102" + string: "\uFEFFShareAlreadyExistsThe + specified share already exists.\nRequestId:3e9d86b9-201a-002e-0a4e-9c1fb7000000\nTime:2020-10-07T02:03:48.5268800Z" headers: content-length: - - '343' + - '222' content-type: - application/xml date: - - Tue, 12 May 2020 19:18:57 GMT + - Wed, 07 Oct 2020 02:03:48 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-error-code: - - InvalidHeaderValue + - ShareAlreadyExists x-ms-version: - - '2019-12-12' + - '2020-02-10' status: - code: 400 - message: The value for one of the HTTP headers is not in the correct format. -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) - x-ms-date: - - Tue, 12 May 2020 19:18:57 GMT - x-ms-deleted-share-name: - - /share647b1102 - x-ms-deleted-share-version: - - 01D62891F1043495 - x-ms-version: - - '2019-12-12' - method: PUT - uri: https://storagename.file.core.windows.net/share647b1102?restype=share&comp=undelete - response: - body: - string: "\uFEFFInvalidHeaderValueThe - value for one of the HTTP headers is not in the correct format.\nRequestId:ebd69b47-501a-009d-3f92-28049b000000\nTime:2020-05-12T19:18:57.6667514Zx-ms-deleted-share-name/share647b1102" - headers: - content-length: - - '343' - content-type: - - application/xml - date: - - Tue, 12 May 2020 19:18:57 GMT - server: - - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-error-code: - - InvalidHeaderValue - x-ms-version: - - '2019-12-12' - status: - code: 400 - message: The value for one of the HTTP headers is not in the correct format. -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) - x-ms-date: - - Tue, 12 May 2020 19:18:57 GMT - x-ms-deleted-share-name: - - /share647b1102 - x-ms-deleted-share-version: - - 01D628921CE6979F - x-ms-version: - - '2019-12-12' - method: PUT - uri: https://storagename.file.core.windows.net/share647b1102?restype=share&comp=undelete - response: - body: - string: "\uFEFFInvalidHeaderValueThe - value for one of the HTTP headers is not in the correct format.\nRequestId:ebd69b4a-501a-009d-4092-28049b000000\nTime:2020-05-12T19:18:57.7638428Zx-ms-deleted-share-name/share647b1102" - headers: - content-length: - - '343' - content-type: - - application/xml - date: - - Tue, 12 May 2020 19:18:57 GMT - server: - - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-error-code: - - InvalidHeaderValue - x-ms-version: - - '2019-12-12' - status: - code: 400 - message: The value for one of the HTTP headers is not in the correct format. + code: 409 + message: The specified share already exists. version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_undelete_share.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_undelete_share.yaml index a2e1146548fc..26bdd489d938 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_undelete_share.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share.test_undelete_share.yaml @@ -11,33 +11,32 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 13 May 2020 17:45:47 GMT + - Wed, 07 Oct 2020 02:07:05 GMT x-ms-version: - - '2019-12-12' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/sharerestorebed60c48?restype=share response: body: - string: "\uFEFFShareAlreadyExistsThe - specified share already exists.\nRequestId:06c6b9b1-001a-0074-604e-29c2d1000000\nTime:2020-05-13T17:45:47.6187422Z" + string: '' headers: content-length: - - '222' - content-type: - - application/xml + - '0' date: - - Wed, 13 May 2020 17:45:46 GMT + - Wed, 07 Oct 2020 02:07:06 GMT + etag: + - '"0x8D86A65B0E651E3"' + last-modified: + - Wed, 07 Oct 2020 02:07:06 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-error-code: - - ShareAlreadyExists x-ms-version: - - '2019-12-12' + - '2020-02-10' status: - code: 409 - message: The specified share already exists. + code: 201 + message: Created - request: body: null headers: @@ -50,11 +49,11 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 13 May 2020 17:45:47 GMT + - Wed, 07 Oct 2020 02:07:06 GMT x-ms-version: - - '2019-12-12' + - '2020-02-10' method: DELETE uri: https://storagename.file.core.windows.net/sharerestorebed60c48?restype=share response: @@ -64,11 +63,11 @@ interactions: content-length: - '0' date: - - Wed, 13 May 2020 17:45:47 GMT + - Wed, 07 Oct 2020 02:07:06 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: - - '2019-12-12' + - '2020-02-10' status: code: 202 message: Accepted @@ -82,30 +81,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 13 May 2020 17:45:48 GMT + - Wed, 07 Oct 2020 02:07:06 GMT x-ms-version: - - '2019-12-12' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/sharerestorebed60c48?restype=share response: body: string: "\uFEFFShareNotFoundThe - specified share does not exist.\nRequestId:06c6b9b6-001a-0074-624e-29c2d1000000\nTime:2020-05-13T17:45:48.3534340Z" + specified share does not exist.\nRequestId:84d8bb96-f01a-0084-7c4e-9c3fa1000000\nTime:2020-10-07T02:07:06.8312951Z" headers: content-length: - '217' content-type: - application/xml date: - - Wed, 13 May 2020 17:45:47 GMT + - Wed, 07 Oct 2020 02:07:06 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-error-code: - ShareNotFound x-ms-version: - - '2019-12-12' + - '2020-02-10' status: code: 404 message: The specified share does not exist. @@ -119,142 +118,44 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 13 May 2020 17:45:48 GMT + - Wed, 07 Oct 2020 02:07:06 GMT x-ms-version: - - '2019-12-12' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/?include=deleted,metadata,snapshots&comp=list response: body: string: "\uFEFFexisting647b1102Mon, - 11 May 2020 18:54:32 GMT\"0x8D7F5DCBE38249A\"5120TransactionOptimized5/11/2020 - 6:54:32 PM$account-encryption-keyfalseshare647b1102true01D62891F1043495Tue, - 12 May 2020 19:17:13 GMT\"0x8D7F6A9137AA752\"5120TransactionOptimized5/12/2020 - 7:17:13 PM$account-encryption-keyfalseTue, - 12 May 2020 19:17:13 GMT0share647b1102true01D628921CE6979FTue, - 12 May 2020 19:18:26 GMT\"0x8D7F6A93F5D64D2\"5120TransactionOptimized5/12/2020 - 7:18:26 PM$account-encryption-keyfalseTue, - 12 May 2020 19:18:27 GMT0share647b1102Tue, - 12 May 2020 19:18:57 GMT\"0x8D7F6A9516B1701\"5120TransactionOptimized5/12/2020 - 7:18:57 PM$account-encryption-keyfalseshared365137ftrue01D6289358749C19Tue, - 12 May 2020 19:27:16 GMT\"0x8D7F6AA7AEB06B6\"5120TransactionOptimized5/12/2020 - 7:27:16 PM$account-encryption-keyfalseTue, - 12 May 2020 19:27:16 GMT0shared365137ftrue01D628936A7CCB5FTue, - 12 May 2020 19:27:46 GMT\"0x8D7F6AA8CF3289E\"5120TransactionOptimized5/12/2020 - 7:27:46 PM$account-encryption-keyfalseTue, - 12 May 2020 19:34:47 GMT0shared365137ftrue01D62894782B2ED3Tue, - 12 May 2020 19:35:19 GMT\"0x8D7F6AB9A9E0823\"5120TransactionOptimized5/12/2020 - 7:35:18 PM$account-encryption-keyfalseTue, - 12 May 2020 19:36:42 GMT0shared365137ftrue01D62894BBABA26ATue, - 12 May 2020 19:37:12 GMT\"0x8D7F6ABDE221895\"5120TransactionOptimized5/12/2020 - 7:37:12 PM$account-encryption-keyfalseTue, - 12 May 2020 20:16:59 GMT0shared365137ftrue01D6289A5CED9EC1Tue, - 12 May 2020 20:17:30 GMT\"0x8D7F6B17F6378C3\"5120TransactionOptimized5/12/2020 - 8:17:30 PM$account-encryption-keyfalseTue, - 12 May 2020 20:22:47 GMT0shared365137ftrue01D6289B2C4BE740Tue, - 12 May 2020 20:23:18 GMT\"0x8D7F6B24EC25185\"5120TransactionOptimized5/12/2020 - 8:23:18 PM$account-encryption-keyfalseTue, - 12 May 2020 20:24:26 GMT0shared365137ftrue01D6289B670E0FE5Tue, - 12 May 2020 20:24:56 GMT\"0x8D7F6B28984B251\"5120TransactionOptimized5/12/2020 - 8:24:56 PM$account-encryption-keyfalseTue, - 12 May 2020 20:26:35 GMT0shared365137ftrue01D6289BB89BF91ETue, - 12 May 2020 20:27:13 GMT\"0x8D7F6B2DB0FAFFB\"5120TransactionOptimized5/12/2020 - 8:27:13 PM$account-encryption-keyfalseTue, - 12 May 2020 20:29:53 GMT0shared365137ftrue01D6289C29CC3751Tue, - 12 May 2020 20:30:23 GMT\"0x8D7F6B34C42D063\"5120TransactionOptimized5/12/2020 - 8:30:23 PM$account-encryption-keyfalseTue, - 12 May 2020 20:31:16 GMT0shared365137fTue, - 12 May 2020 20:31:46 GMT\"0x8D7F6B37DDB00D5\"5120TransactionOptimized5/12/2020 - 8:31:46 PM$account-encryption-keyfalsesharerestore12700ec5true01D62895E93C6018Tue, - 12 May 2020 19:45:38 GMT\"0x8D7F6AD0BB2D264\"5120TransactionOptimized5/12/2020 - 7:45:38 PM$account-encryption-keyfalseTue, - 12 May 2020 19:45:38 GMT0sharerestore12700ec5true01D62896EE908613Tue, - 12 May 2020 19:52:56 GMT\"0x8D7F6AE1105D23C\"5120TransactionOptimized5/12/2020 - 7:52:56 PM$account-encryption-keyfalseTue, - 12 May 2020 19:52:57 GMT0sharerestore12700ec5true01D62896FE2C7643Tue, - 12 May 2020 19:53:22 GMT\"0x8D7F6AE20A3E059\"5120TransactionOptimized5/12/2020 - 7:36:51 PM$account-encryption-keyfalseTue, - 12 May 2020 20:36:15 GMT0sharerestore12700ec5Tue, - 12 May 2020 20:36:16 GMT\"0x8D7F6B41ECF17FA\"5120TransactionOptimized5/12/2020 - 7:41:52 PM$account-encryption-keyfalsesharerestorebed60c48true01D628A02764BCEFTue, - 12 May 2020 20:58:57 GMT\"0x8D7F6B749DC1995\"5120TransactionOptimized5/12/2020 - 1:26:19 AM$account-encryption-keyfalseWed, - 13 May 2020 17:45:48 GMT1test-share-04423526-abc3-44c9-aa2e-540f6eecac0dSun, - 12 Apr 2020 18:42:18 GMT\"0x8D7DF113AB0D452\"5120TransactionOptimized$account-encryption-keyfalsetest-share-3754bd7d-b2e4-4079-a97e-a3b9afc1648cSat, - 11 Apr 2020 17:58:03 GMT\"0x8D7DE41E1D75DB4\"5120TransactionOptimized$account-encryption-keyfalsetest-share-6214a335-a4b0-498c-9995-1e50b6bb50a2Sat, - 11 Apr 2020 17:57:43 GMT\"0x8D7DE41D5B0D211\"5120TransactionOptimized$account-encryption-keyfalsetest-share-659cd252-38f3-43aa-8092-750973358be5Sun, - 12 Apr 2020 18:14:14 GMT\"0x8D7DF0D4EBB62F2\"5120TransactionOptimized$account-encryption-keyfalsetest-share-6d528e3f-219f-44f9-b80b-3d2248cce9f3Sat, - 11 Apr 2020 17:58:24 GMT\"0x8D7DE41EDFB7785\"5120TransactionOptimized$account-encryption-keyfalsetest-share-6fe76ac5-709b-4678-b55e-47e717c1d943Sun, - 12 Apr 2020 18:24:45 GMT\"0x8D7DF0EC69BCDD4\"5120TransactionOptimized$account-encryption-keyfalsetest-share-745c2b22-c95a-4019-a1cf-df95f0cb7db9Sun, - 12 Apr 2020 18:42:49 GMT\"0x8D7DF114CDCA126\"5120TransactionOptimized$account-encryption-keyfalsetest-share-7e386df5-7d6b-4fcf-b23d-9e7dd2c13a2bSun, - 12 Apr 2020 18:23:37 GMT\"0x8D7DF0E9E44C712\"5120TransactionOptimized$account-encryption-keyfalsetest-share-93210600-6d3f-49e4-8e87-7e6947c23b8bSat, - 11 Apr 2020 17:57:33 GMT\"0x8D7DE41CF6BC1E8\"5120TransactionOptimized$account-encryption-keyfalsetest-share-ba5d06e0-c1d4-41b7-8876-7aef01d366a7Sat, - 11 Apr 2020 17:57:53 GMT\"0x8D7DE41DBC30637\"5120TransactionOptimized$account-encryption-keyfalsetest-share-bed60c48Mon, - 11 May 2020 19:38:41 GMT\"0x8D7F5E2E8A4F4E3\"5120TransactionOptimized5/11/2020 - 7:30:04 PM$account-encryption-keyfalsetest-share-bffb30c0-47cc-4cd0-b3b4-6c560832c136Sun, - 12 Apr 2020 18:44:28 GMT\"0x8D7DF11881FBCE1\"5120TransactionOptimized$account-encryption-keyfalsetest-share-ce14a14c-6463-4bad-bedc-bedf7388d692Sat, - 11 Apr 2020 17:58:14 GMT\"0x8D7DE41E7E8F550\"5120TransactionOptimized$account-encryption-keyfalsetest-share-e21b1b2a-eaa6-4f88-928f-449387ef5cb9Sun, - 12 Apr 2020 18:13:43 GMT\"0x8D7DF0D3C81621C\"5120TransactionOptimized$account-encryption-keyfalse\"0x8D7F5D973C38650\"unlockedavailable5120TransactionOptimized$account-encryption-keyfalseexistingbed60c48Mon, + 11 May 2020 17:36:05 GMT\"0x8D7F5D1C82848E3\"unlockedavailable5120TransactionOptimizedMon, + 11 May 2020 17:36:05 GMT$account-encryption-keyfalseshare647b1102true01D69C4E05E0F6C1Wed, + 07 Oct 2020 02:03:17 GMT\"0x8D86A6528428E2C\"unlockedbroken5120TransactionOptimizedWed, + 07 Oct 2020 02:03:17 GMT$account-encryption-keyfalseWed, + 07 Oct 2020 02:03:17 GMT7share647b1102Wed, + 07 Oct 2020 02:03:48 GMT\"0x8D86A653AA236A4\"unlockedavailable5120TransactionOptimizedWed, + 07 Oct 2020 02:03:48 GMT$account-encryption-keyfalsesharerestorebed60c48true01D69C4E8E6FB05BWed, + 07 Oct 2020 02:07:06 GMT\"0x8D86A65B0E651E3\"unlockedbroken5120TransactionOptimizedWed, + 07 Oct 2020 02:07:06 GMT$account-encryption-keyfalseWed, + 07 Oct 2020 02:07:06 GMT7" headers: content-type: - application/xml date: - - Wed, 13 May 2020 17:45:47 GMT + - Wed, 07 Oct 2020 02:07:06 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2019-12-12' + - '2020-02-10' status: code: 200 message: OK @@ -270,15 +171,15 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 13 May 2020 17:46:48 GMT + - Wed, 07 Oct 2020 02:08:07 GMT x-ms-deleted-share-name: - sharerestorebed60c48 x-ms-deleted-share-version: - - 01D628A02764BCEF + - 01D69C4E8E6FB05B x-ms-version: - - '2019-12-12' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/sharerestorebed60c48?restype=share&comp=undelete response: @@ -288,15 +189,15 @@ interactions: content-length: - '0' date: - - Wed, 13 May 2020 17:46:48 GMT + - Wed, 07 Oct 2020 02:08:07 GMT etag: - - '"0x8D7F7659CAE040B"' + - '"0x8D86A65D5229F0C"' last-modified: - - Wed, 13 May 2020 17:46:48 GMT + - Wed, 07 Oct 2020 02:08:07 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: - - '2019-12-12' + - '2020-02-10' status: code: 201 message: Created @@ -310,11 +211,11 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Wed, 13 May 2020 17:46:48 GMT + - Wed, 07 Oct 2020 02:08:08 GMT x-ms-version: - - '2019-12-12' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/sharerestorebed60c48?restype=share response: @@ -324,25 +225,29 @@ interactions: content-length: - '0' date: - - Wed, 13 May 2020 17:46:48 GMT + - Wed, 07 Oct 2020 02:08:07 GMT etag: - - '"0x8D7F7659CAE040B"' + - '"0x8D86A65D5229F0C"' last-modified: - - Wed, 13 May 2020 17:46:48 GMT + - Wed, 07 Oct 2020 02:08:07 GMT server: - Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: - TransactionOptimized x-ms-access-tier-change-time: - - 5/12/2020 1:26:19 AM + - Wed, 07 Oct 2020 02:07:06 GMT x-ms-has-immutability-policy: - 'false' x-ms-has-legal-hold: - 'false' + x-ms-lease-state: + - available + x-ms-lease-status: + - unlocked x-ms-share-quota: - '5120' x-ms-version: - - '2019-12-12' + - '2020-02-10' status: code: 200 message: OK diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_restore_to_existing_share.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_restore_to_existing_share.yaml index 733709f789ea..1fbb653b0b06 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_restore_to_existing_share.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_restore_to_existing_share.yaml @@ -3,37 +3,36 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 12 May 2020 20:31:16 GMT + - Wed, 07 Oct 2020 02:08:16 GMT x-ms-version: - - '2019-12-12' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/shared365137f?restype=share response: body: - string: "\uFEFFShareAlreadyExistsThe - specified share already exists.\nRequestId:eb5c5ea0-a01a-00eb-019c-288ed3000000\nTime:2020-05-12T20:31:16.4270939Z" + string: '' headers: - content-length: '222' - content-type: application/xml - date: Tue, 12 May 2020 20:31:15 GMT + content-length: '0' + date: Wed, 07 Oct 2020 02:08:16 GMT + etag: '"0x8D86A65DAC12265"' + last-modified: Wed, 07 Oct 2020 02:08:16 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-error-code: ShareAlreadyExists - x-ms-version: '2019-12-12' + x-ms-version: '2020-02-10' status: - code: 409 - message: The specified share already exists. - url: https://seansoftdeletecanary.file.core.windows.net/shared365137f?restype=share + code: 201 + message: Created + url: https://emilyeuap.file.core.windows.net/shared365137f?restype=share - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 12 May 2020 20:31:16 GMT + - Wed, 07 Oct 2020 02:08:16 GMT x-ms-version: - - '2019-12-12' + - '2020-02-10' method: DELETE uri: https://storagename.file.core.windows.net/shared365137f?restype=share response: @@ -41,48 +40,48 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 12 May 2020 20:31:15 GMT + date: Wed, 07 Oct 2020 02:08:16 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-version: '2019-12-12' + x-ms-version: '2020-02-10' status: code: 202 message: Accepted - url: https://seansoftdeletecanary.file.core.windows.net/shared365137f?restype=share + url: https://emilyeuap.file.core.windows.net/shared365137f?restype=share - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 12 May 2020 20:31:16 GMT + - Wed, 07 Oct 2020 02:08:16 GMT x-ms-version: - - '2019-12-12' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/shared365137f?restype=share response: body: string: "\uFEFFShareNotFoundThe - specified share does not exist.\nRequestId:eb5c5ea4-a01a-00eb-039c-288ed3000000\nTime:2020-05-12T20:31:16.6162724Z" + specified share does not exist.\nRequestId:d3f843ec-301a-0032-354e-9c4dd7000000\nTime:2020-10-07T02:08:16.9138006Z" headers: content-length: '217' content-type: application/xml - date: Tue, 12 May 2020 20:31:15 GMT + date: Wed, 07 Oct 2020 02:08:16 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-error-code: ShareNotFound - x-ms-version: '2019-12-12' + x-ms-version: '2020-02-10' status: code: 404 message: The specified share does not exist. - url: https://seansoftdeletecanary.file.core.windows.net/shared365137f?restype=share + url: https://emilyeuap.file.core.windows.net/shared365137f?restype=share - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 12 May 2020 20:31:46 GMT + - Wed, 07 Oct 2020 02:08:47 GMT x-ms-version: - - '2019-12-12' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/shared365137f?restype=share response: @@ -90,160 +89,88 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 12 May 2020 20:31:45 GMT - etag: '"0x8D7F6B37DDB00D5"' - last-modified: Tue, 12 May 2020 20:31:46 GMT + date: Wed, 07 Oct 2020 02:08:46 GMT + etag: '"0x8D86A65ECF72E65"' + last-modified: Wed, 07 Oct 2020 02:08:47 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-version: '2019-12-12' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: https://seansoftdeletecanary.file.core.windows.net/shared365137f?restype=share + url: https://emilyeuap.file.core.windows.net/shared365137f?restype=share - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 12 May 2020 20:31:46 GMT + - Wed, 07 Oct 2020 02:08:47 GMT x-ms-version: - - '2019-12-12' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/?include=deleted&comp=list response: body: string: "\uFEFFexisting647b1102Mon, - 11 May 2020 18:54:32 GMT\"0x8D7F5DCBE38249A\"5120TransactionOptimized5/11/2020 - 6:54:32 PM$account-encryption-keyfalseshare647b1102true01D62891F1043495Tue, - 12 May 2020 19:17:13 GMT\"0x8D7F6A9137AA752\"5120TransactionOptimized5/12/2020 - 7:17:13 PM$account-encryption-keyfalseTue, - 12 May 2020 19:17:13 GMT0share647b1102true01D628921CE6979FTue, - 12 May 2020 19:18:26 GMT\"0x8D7F6A93F5D64D2\"5120TransactionOptimized5/12/2020 - 7:18:26 PM$account-encryption-keyfalseTue, - 12 May 2020 19:18:27 GMT0share647b1102Tue, - 12 May 2020 19:18:57 GMT\"0x8D7F6A9516B1701\"5120TransactionOptimized5/12/2020 - 7:18:57 PM$account-encryption-keyfalsesharebed60c48true01D627DF1C7AB73EMon, - 11 May 2020 21:57:06 GMT\"0x8D7F5F63EF11C0D\"5120TransactionOptimized5/11/2020 - 9:57:06 PM$account-encryption-keyfalseMon, - 11 May 2020 21:59:02 GMT0sharebed60c48true01D627E6E3F182B7Mon, - 11 May 2020 22:52:47 GMT\"0x8D7F5FE0667FD31\"5120TransactionOptimized5/11/2020 - 10:52:47 PM$account-encryption-keyfalseMon, - 11 May 2020 22:53:07 GMT0shared365137ftrue01D6289358749C19Tue, - 12 May 2020 19:27:16 GMT\"0x8D7F6AA7AEB06B6\"5120TransactionOptimized5/12/2020 - 7:27:16 PM$account-encryption-keyfalseTue, - 12 May 2020 19:27:16 GMT0shared365137ftrue01D628936A7CCB5FTue, - 12 May 2020 19:27:46 GMT\"0x8D7F6AA8CF3289E\"5120TransactionOptimized5/12/2020 - 7:27:46 PM$account-encryption-keyfalseTue, - 12 May 2020 19:34:47 GMT0shared365137ftrue01D62894782B2ED3Tue, - 12 May 2020 19:35:19 GMT\"0x8D7F6AB9A9E0823\"5120TransactionOptimized5/12/2020 - 7:35:18 PM$account-encryption-keyfalseTue, - 12 May 2020 19:36:42 GMT0shared365137ftrue01D62894BBABA26ATue, - 12 May 2020 19:37:12 GMT\"0x8D7F6ABDE221895\"5120TransactionOptimized5/12/2020 - 7:37:12 PM$account-encryption-keyfalseTue, - 12 May 2020 20:16:59 GMT1shared365137ftrue01D6289A5CED9EC1Tue, - 12 May 2020 20:17:30 GMT\"0x8D7F6B17F6378C3\"5120TransactionOptimized5/12/2020 - 8:17:30 PM$account-encryption-keyfalseTue, - 12 May 2020 20:22:47 GMT1shared365137ftrue01D6289B2C4BE740Tue, - 12 May 2020 20:23:18 GMT\"0x8D7F6B24EC25185\"5120TransactionOptimized5/12/2020 - 8:23:18 PM$account-encryption-keyfalseTue, - 12 May 2020 20:24:26 GMT1shared365137ftrue01D6289B670E0FE5Tue, - 12 May 2020 20:24:56 GMT\"0x8D7F6B28984B251\"5120TransactionOptimized5/12/2020 - 8:24:56 PM$account-encryption-keyfalseTue, - 12 May 2020 20:26:35 GMT1shared365137ftrue01D6289BB89BF91ETue, - 12 May 2020 20:27:13 GMT\"0x8D7F6B2DB0FAFFB\"5120TransactionOptimized5/12/2020 - 8:27:13 PM$account-encryption-keyfalseTue, - 12 May 2020 20:29:53 GMT1shared365137ftrue01D6289C29CC3751Tue, - 12 May 2020 20:30:23 GMT\"0x8D7F6B34C42D063\"5120TransactionOptimized5/12/2020 - 8:30:23 PM$account-encryption-keyfalseTue, - 12 May 2020 20:31:16 GMT1shared365137fTue, - 12 May 2020 20:31:46 GMT\"0x8D7F6B37DDB00D5\"5120TransactionOptimized5/12/2020 - 8:31:46 PM$account-encryption-keyfalsesharerestore12700ec5true01D62895628B32A6Tue, - 12 May 2020 19:41:52 GMT\"0x8D7F6AC84F7CE92\"5120TransactionOptimized5/12/2020 - 7:41:52 PM$account-encryption-keyfalseTue, - 12 May 2020 19:41:52 GMT0sharerestore12700ec5true01D62895E93C6018Tue, - 12 May 2020 19:45:38 GMT\"0x8D7F6AD0BB2D264\"5120TransactionOptimized5/12/2020 - 7:45:38 PM$account-encryption-keyfalseTue, - 12 May 2020 19:45:38 GMT0sharerestore12700ec5true01D62896EE908613Tue, - 12 May 2020 19:52:56 GMT\"0x8D7F6AE1105D23C\"5120TransactionOptimized5/12/2020 - 7:52:56 PM$account-encryption-keyfalseTue, - 12 May 2020 19:52:57 GMT0sharerestore12700ec5Tue, - 12 May 2020 19:53:22 GMT\"0x8D7F6AE20A3E059\"5120TransactionOptimized5/12/2020 - 7:36:51 PM$account-encryption-keyfalsesharerestorebed60c48Tue, - 12 May 2020 01:27:19 GMT\"0x8D7F6139D00A95F\"5120TransactionOptimized5/12/2020 - 1:26:19 AM$account-encryption-keyfalsesharetorestorebed60c48true01D627FC3CC9AC5BTue, - 12 May 2020 01:25:35 GMT\"0x8D7F6135F406102\"5120TransactionOptimized5/12/2020 - 1:25:35 AM$account-encryption-keyfalseTue, - 12 May 2020 01:25:36 GMT0test-share-04423526-abc3-44c9-aa2e-540f6eecac0dSun, - 12 Apr 2020 18:42:18 GMT\"0x8D7DF113AB0D452\"5120TransactionOptimized$account-encryption-keyfalsetest-share-3754bd7d-b2e4-4079-a97e-a3b9afc1648cSat, - 11 Apr 2020 17:58:03 GMT\"0x8D7DE41E1D75DB4\"5120TransactionOptimized$account-encryption-keyfalsetest-share-6214a335-a4b0-498c-9995-1e50b6bb50a2Sat, - 11 Apr 2020 17:57:43 GMT\"0x8D7DE41D5B0D211\"5120TransactionOptimized$account-encryption-keyfalsetest-share-659cd252-38f3-43aa-8092-750973358be5Sun, - 12 Apr 2020 18:14:14 GMT\"0x8D7DF0D4EBB62F2\"5120TransactionOptimized$account-encryption-keyfalsetest-share-6d528e3f-219f-44f9-b80b-3d2248cce9f3Sat, - 11 Apr 2020 17:58:24 GMT\"0x8D7DE41EDFB7785\"5120TransactionOptimized$account-encryption-keyfalsetest-share-6fe76ac5-709b-4678-b55e-47e717c1d943Sun, - 12 Apr 2020 18:24:45 GMT\"0x8D7DF0EC69BCDD4\"5120TransactionOptimized$account-encryption-keyfalsetest-share-745c2b22-c95a-4019-a1cf-df95f0cb7db9Sun, - 12 Apr 2020 18:42:49 GMT\"0x8D7DF114CDCA126\"5120TransactionOptimized$account-encryption-keyfalsetest-share-7e386df5-7d6b-4fcf-b23d-9e7dd2c13a2bSun, - 12 Apr 2020 18:23:37 GMT\"0x8D7DF0E9E44C712\"5120TransactionOptimized$account-encryption-keyfalsetest-share-93210600-6d3f-49e4-8e87-7e6947c23b8bSat, - 11 Apr 2020 17:57:33 GMT\"0x8D7DE41CF6BC1E8\"5120TransactionOptimized$account-encryption-keyfalsetest-share-ba5d06e0-c1d4-41b7-8876-7aef01d366a7Sat, - 11 Apr 2020 17:57:53 GMT\"0x8D7DE41DBC30637\"5120TransactionOptimized$account-encryption-keyfalsetest-share-bed60c48Mon, - 11 May 2020 19:38:41 GMT\"0x8D7F5E2E8A4F4E3\"5120TransactionOptimized5/11/2020 - 7:30:04 PM$account-encryption-keyfalsetest-share-bffb30c0-47cc-4cd0-b3b4-6c560832c136Sun, - 12 Apr 2020 18:44:28 GMT\"0x8D7DF11881FBCE1\"5120TransactionOptimized$account-encryption-keyfalsetest-share-ce14a14c-6463-4bad-bedc-bedf7388d692Sat, - 11 Apr 2020 17:58:14 GMT\"0x8D7DE41E7E8F550\"5120TransactionOptimized$account-encryption-keyfalsetest-share-e21b1b2a-eaa6-4f88-928f-449387ef5cb9Sun, - 12 Apr 2020 18:13:43 GMT\"0x8D7DF0D3C81621C\"5120TransactionOptimized$account-encryption-keyfalse\"0x8D7F5D973C38650\"unlockedavailable5120TransactionOptimized$account-encryption-keyfalseexistingbed60c48Mon, + 11 May 2020 17:36:05 GMT\"0x8D7F5D1C82848E3\"unlockedavailable5120TransactionOptimizedMon, + 11 May 2020 17:36:05 GMT$account-encryption-keyfalseshare647b1102true01D69C4E05E0F6C1Wed, + 07 Oct 2020 02:03:17 GMT\"0x8D86A6528428E2C\"unlockedbroken5120TransactionOptimizedWed, + 07 Oct 2020 02:03:17 GMT$account-encryption-keyfalseWed, + 07 Oct 2020 02:03:17 GMT7share647b1102Wed, + 07 Oct 2020 02:03:48 GMT\"0x8D86A653AA236A4\"unlockedavailable5120TransactionOptimizedWed, + 07 Oct 2020 02:03:48 GMT$account-encryption-keyfalseshared365137ftrue01D69C4EB84A8D4FWed, + 07 Oct 2020 02:08:16 GMT\"0x8D86A65DAC12265\"unlockedbroken5120TransactionOptimizedWed, + 07 Oct 2020 02:08:16 GMT$account-encryption-keyfalseWed, + 07 Oct 2020 02:08:16 GMT7shared365137fWed, + 07 Oct 2020 02:08:47 GMT\"0x8D86A65ECF72E65\"unlockedavailable5120TransactionOptimizedWed, + 07 Oct 2020 02:08:47 GMT$account-encryption-keyfalsesharerestore12700ec5Wed, + 07 Oct 2020 02:08:44 GMT\"0x8D86A65EB25DDE6\"unlockedavailable5120TransactionOptimizedWed, + 07 Oct 2020 02:07:43 GMT$account-encryption-keyfalsesharerestorebed60c48Wed, + 07 Oct 2020 02:08:07 GMT\"0x8D86A65D5229F0C\"unlockedavailable5120TransactionOptimizedWed, + 07 Oct 2020 02:07:06 GMT$account-encryption-keyfalse" headers: content-type: application/xml - date: Tue, 12 May 2020 20:31:46 GMT + date: Wed, 07 Oct 2020 02:08:46 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked - x-ms-version: '2019-12-12' + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: https://seansoftdeletecanary.file.core.windows.net/?include=deleted&comp=list + url: https://emilyeuap.file.core.windows.net/?include=deleted&comp=list - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 12 May 2020 20:31:52 GMT + - Wed, 07 Oct 2020 02:08:47 GMT x-ms-deleted-share-name: - shared365137f x-ms-deleted-share-version: - - 01D6289358749C19 + - 01D69C4EB84A8D4F x-ms-version: - - '2019-12-12' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/shared365137f?restype=share&comp=undelete response: body: string: "\uFEFFShareAlreadyExistsThe - specified share already exists.\nRequestId:eb5c5ed2-a01a-00eb-129c-288ed3000000\nTime:2020-05-12T20:31:52.6864351Z" + specified share already exists.\nRequestId:613add17-701a-0033-214e-9c120b000000\nTime:2020-10-07T02:08:47.5350394Z" headers: content-length: '222' content-type: application/xml - date: Tue, 12 May 2020 20:31:51 GMT + date: Wed, 07 Oct 2020 02:08:46 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-error-code: ShareAlreadyExists - x-ms-version: '2019-12-12' + x-ms-version: '2020-02-10' status: code: 409 message: The specified share already exists. - url: https://seansoftdeletecanary.file.core.windows.net/shared365137f?restype=share&comp=undelete + url: https://emilyeuap.file.core.windows.net/shared365137f?restype=share&comp=undelete version: 1 diff --git a/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_undelete_share.yaml b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_undelete_share.yaml index dcc4935dda4d..a61aef583a3f 100644 --- a/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_undelete_share.yaml +++ b/sdk/storage/azure-storage-file-share/tests/recordings/test_share_async.test_undelete_share.yaml @@ -3,37 +3,36 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 12 May 2020 20:36:15 GMT + - Wed, 07 Oct 2020 02:07:42 GMT x-ms-version: - - '2019-12-12' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/sharerestore12700ec5?restype=share response: body: - string: "\uFEFFShareAlreadyExistsThe - specified share already exists.\nRequestId:a0737473-401a-00be-049c-289e58000000\nTime:2020-05-12T20:36:15.6647741Z" + string: '' headers: - content-length: '222' - content-type: application/xml - date: Tue, 12 May 2020 20:36:15 GMT + content-length: '0' + date: Wed, 07 Oct 2020 02:07:42 GMT + etag: '"0x8D86A65C6BFE006"' + last-modified: Wed, 07 Oct 2020 02:07:43 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-error-code: ShareAlreadyExists - x-ms-version: '2019-12-12' + x-ms-version: '2020-02-10' status: - code: 409 - message: The specified share already exists. - url: https://seansoftdeletecanary.file.core.windows.net/sharerestore12700ec5?restype=share + code: 201 + message: Created + url: https://emilyeuap.file.core.windows.net/sharerestore12700ec5?restype=share - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 12 May 2020 20:36:15 GMT + - Wed, 07 Oct 2020 02:07:43 GMT x-ms-version: - - '2019-12-12' + - '2020-02-10' method: DELETE uri: https://storagename.file.core.windows.net/sharerestore12700ec5?restype=share response: @@ -41,170 +40,94 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 12 May 2020 20:36:15 GMT + date: Wed, 07 Oct 2020 02:07:42 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-version: '2019-12-12' + x-ms-version: '2020-02-10' status: code: 202 message: Accepted - url: https://seansoftdeletecanary.file.core.windows.net/sharerestore12700ec5?restype=share + url: https://emilyeuap.file.core.windows.net/sharerestore12700ec5?restype=share - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 12 May 2020 20:36:15 GMT + - Wed, 07 Oct 2020 02:07:43 GMT x-ms-version: - - '2019-12-12' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/sharerestore12700ec5?restype=share response: body: string: "\uFEFFShareNotFoundThe - specified share does not exist.\nRequestId:a0737478-401a-00be-069c-289e58000000\nTime:2020-05-12T20:36:16.0030965Z" + specified share does not exist.\nRequestId:059be513-001a-0006-4d4e-9c7e1f000000\nTime:2020-10-07T02:07:43.3541174Z" headers: content-length: '217' content-type: application/xml - date: Tue, 12 May 2020 20:36:15 GMT + date: Wed, 07 Oct 2020 02:07:42 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-error-code: ShareNotFound - x-ms-version: '2019-12-12' + x-ms-version: '2020-02-10' status: code: 404 message: The specified share does not exist. - url: https://seansoftdeletecanary.file.core.windows.net/sharerestore12700ec5?restype=share + url: https://emilyeuap.file.core.windows.net/sharerestore12700ec5?restype=share - request: body: null headers: Accept: - application/xml User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 12 May 2020 20:36:16 GMT + - Wed, 07 Oct 2020 02:07:43 GMT x-ms-version: - - '2019-12-12' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/?include=deleted&comp=list response: body: string: "\uFEFFexisting647b1102Mon, - 11 May 2020 18:54:32 GMT\"0x8D7F5DCBE38249A\"5120TransactionOptimized5/11/2020 - 6:54:32 PM$account-encryption-keyfalseshare647b1102true01D62891F1043495Tue, - 12 May 2020 19:17:13 GMT\"0x8D7F6A9137AA752\"5120TransactionOptimized5/12/2020 - 7:17:13 PM$account-encryption-keyfalseTue, - 12 May 2020 19:17:13 GMT0share647b1102true01D628921CE6979FTue, - 12 May 2020 19:18:26 GMT\"0x8D7F6A93F5D64D2\"5120TransactionOptimized5/12/2020 - 7:18:26 PM$account-encryption-keyfalseTue, - 12 May 2020 19:18:27 GMT0share647b1102Tue, - 12 May 2020 19:18:57 GMT\"0x8D7F6A9516B1701\"5120TransactionOptimized5/12/2020 - 7:18:57 PM$account-encryption-keyfalsesharebed60c48true01D627DF1C7AB73EMon, - 11 May 2020 21:57:06 GMT\"0x8D7F5F63EF11C0D\"5120TransactionOptimized5/11/2020 - 9:57:06 PM$account-encryption-keyfalseMon, - 11 May 2020 21:59:02 GMT0sharebed60c48true01D627E6E3F182B7Mon, - 11 May 2020 22:52:47 GMT\"0x8D7F5FE0667FD31\"5120TransactionOptimized5/11/2020 - 10:52:47 PM$account-encryption-keyfalseMon, - 11 May 2020 22:53:07 GMT0shared365137ftrue01D6289358749C19Tue, - 12 May 2020 19:27:16 GMT\"0x8D7F6AA7AEB06B6\"5120TransactionOptimized5/12/2020 - 7:27:16 PM$account-encryption-keyfalseTue, - 12 May 2020 19:27:16 GMT0shared365137ftrue01D628936A7CCB5FTue, - 12 May 2020 19:27:46 GMT\"0x8D7F6AA8CF3289E\"5120TransactionOptimized5/12/2020 - 7:27:46 PM$account-encryption-keyfalseTue, - 12 May 2020 19:34:47 GMT0shared365137ftrue01D62894782B2ED3Tue, - 12 May 2020 19:35:19 GMT\"0x8D7F6AB9A9E0823\"5120TransactionOptimized5/12/2020 - 7:35:18 PM$account-encryption-keyfalseTue, - 12 May 2020 19:36:42 GMT0shared365137ftrue01D62894BBABA26ATue, - 12 May 2020 19:37:12 GMT\"0x8D7F6ABDE221895\"5120TransactionOptimized5/12/2020 - 7:37:12 PM$account-encryption-keyfalseTue, - 12 May 2020 20:16:59 GMT1shared365137ftrue01D6289A5CED9EC1Tue, - 12 May 2020 20:17:30 GMT\"0x8D7F6B17F6378C3\"5120TransactionOptimized5/12/2020 - 8:17:30 PM$account-encryption-keyfalseTue, - 12 May 2020 20:22:47 GMT1shared365137ftrue01D6289B2C4BE740Tue, - 12 May 2020 20:23:18 GMT\"0x8D7F6B24EC25185\"5120TransactionOptimized5/12/2020 - 8:23:18 PM$account-encryption-keyfalseTue, - 12 May 2020 20:24:26 GMT1shared365137ftrue01D6289B670E0FE5Tue, - 12 May 2020 20:24:56 GMT\"0x8D7F6B28984B251\"5120TransactionOptimized5/12/2020 - 8:24:56 PM$account-encryption-keyfalseTue, - 12 May 2020 20:26:35 GMT1shared365137ftrue01D6289BB89BF91ETue, - 12 May 2020 20:27:13 GMT\"0x8D7F6B2DB0FAFFB\"5120TransactionOptimized5/12/2020 - 8:27:13 PM$account-encryption-keyfalseTue, - 12 May 2020 20:29:53 GMT1shared365137ftrue01D6289C29CC3751Tue, - 12 May 2020 20:30:23 GMT\"0x8D7F6B34C42D063\"5120TransactionOptimized5/12/2020 - 8:30:23 PM$account-encryption-keyfalseTue, - 12 May 2020 20:31:16 GMT1shared365137fTue, - 12 May 2020 20:31:46 GMT\"0x8D7F6B37DDB00D5\"5120TransactionOptimized5/12/2020 - 8:31:46 PM$account-encryption-keyfalsesharerestore12700ec5true01D62895628B32A6Tue, - 12 May 2020 19:41:52 GMT\"0x8D7F6AC84F7CE92\"5120TransactionOptimized5/12/2020 - 7:41:52 PM$account-encryption-keyfalseTue, - 12 May 2020 19:41:52 GMT0sharerestore12700ec5true01D62895E93C6018Tue, - 12 May 2020 19:45:38 GMT\"0x8D7F6AD0BB2D264\"5120TransactionOptimized5/12/2020 - 7:45:38 PM$account-encryption-keyfalseTue, - 12 May 2020 19:45:38 GMT0sharerestore12700ec5true01D62896EE908613Tue, - 12 May 2020 19:52:56 GMT\"0x8D7F6AE1105D23C\"5120TransactionOptimized5/12/2020 - 7:52:56 PM$account-encryption-keyfalseTue, - 12 May 2020 19:52:57 GMT0sharerestore12700ec5true01D62896FE2C7643Tue, - 12 May 2020 19:53:22 GMT\"0x8D7F6AE20A3E059\"5120TransactionOptimized5/12/2020 - 7:36:51 PM$account-encryption-keyfalseTue, - 12 May 2020 20:36:15 GMT1sharerestorebed60c48Tue, - 12 May 2020 01:27:19 GMT\"0x8D7F6139D00A95F\"5120TransactionOptimized5/12/2020 - 1:26:19 AM$account-encryption-keyfalsesharetorestorebed60c48true01D627FC3CC9AC5BTue, - 12 May 2020 01:25:35 GMT\"0x8D7F6135F406102\"5120TransactionOptimized5/12/2020 - 1:25:35 AM$account-encryption-keyfalseTue, - 12 May 2020 01:25:36 GMT0test-share-04423526-abc3-44c9-aa2e-540f6eecac0dSun, - 12 Apr 2020 18:42:18 GMT\"0x8D7DF113AB0D452\"5120TransactionOptimized$account-encryption-keyfalsetest-share-3754bd7d-b2e4-4079-a97e-a3b9afc1648cSat, - 11 Apr 2020 17:58:03 GMT\"0x8D7DE41E1D75DB4\"5120TransactionOptimized$account-encryption-keyfalsetest-share-6214a335-a4b0-498c-9995-1e50b6bb50a2Sat, - 11 Apr 2020 17:57:43 GMT\"0x8D7DE41D5B0D211\"5120TransactionOptimized$account-encryption-keyfalsetest-share-659cd252-38f3-43aa-8092-750973358be5Sun, - 12 Apr 2020 18:14:14 GMT\"0x8D7DF0D4EBB62F2\"5120TransactionOptimized$account-encryption-keyfalsetest-share-6d528e3f-219f-44f9-b80b-3d2248cce9f3Sat, - 11 Apr 2020 17:58:24 GMT\"0x8D7DE41EDFB7785\"5120TransactionOptimized$account-encryption-keyfalsetest-share-6fe76ac5-709b-4678-b55e-47e717c1d943Sun, - 12 Apr 2020 18:24:45 GMT\"0x8D7DF0EC69BCDD4\"5120TransactionOptimized$account-encryption-keyfalsetest-share-745c2b22-c95a-4019-a1cf-df95f0cb7db9Sun, - 12 Apr 2020 18:42:49 GMT\"0x8D7DF114CDCA126\"5120TransactionOptimized$account-encryption-keyfalsetest-share-7e386df5-7d6b-4fcf-b23d-9e7dd2c13a2bSun, - 12 Apr 2020 18:23:37 GMT\"0x8D7DF0E9E44C712\"5120TransactionOptimized$account-encryption-keyfalsetest-share-93210600-6d3f-49e4-8e87-7e6947c23b8bSat, - 11 Apr 2020 17:57:33 GMT\"0x8D7DE41CF6BC1E8\"5120TransactionOptimized$account-encryption-keyfalsetest-share-ba5d06e0-c1d4-41b7-8876-7aef01d366a7Sat, - 11 Apr 2020 17:57:53 GMT\"0x8D7DE41DBC30637\"5120TransactionOptimized$account-encryption-keyfalsetest-share-bed60c48Mon, - 11 May 2020 19:38:41 GMT\"0x8D7F5E2E8A4F4E3\"5120TransactionOptimized5/11/2020 - 7:30:04 PM$account-encryption-keyfalsetest-share-bffb30c0-47cc-4cd0-b3b4-6c560832c136Sun, - 12 Apr 2020 18:44:28 GMT\"0x8D7DF11881FBCE1\"5120TransactionOptimized$account-encryption-keyfalsetest-share-ce14a14c-6463-4bad-bedc-bedf7388d692Sat, - 11 Apr 2020 17:58:14 GMT\"0x8D7DE41E7E8F550\"5120TransactionOptimized$account-encryption-keyfalsetest-share-e21b1b2a-eaa6-4f88-928f-449387ef5cb9Sun, - 12 Apr 2020 18:13:43 GMT\"0x8D7DF0D3C81621C\"5120TransactionOptimized$account-encryption-keyfalse\"0x8D7F5D973C38650\"unlockedavailable5120TransactionOptimized$account-encryption-keyfalseexistingbed60c48Mon, + 11 May 2020 17:36:05 GMT\"0x8D7F5D1C82848E3\"unlockedavailable5120TransactionOptimizedMon, + 11 May 2020 17:36:05 GMT$account-encryption-keyfalseshare647b1102true01D69C4E05E0F6C1Wed, + 07 Oct 2020 02:03:17 GMT\"0x8D86A6528428E2C\"unlockedbroken5120TransactionOptimizedWed, + 07 Oct 2020 02:03:17 GMT$account-encryption-keyfalseWed, + 07 Oct 2020 02:03:17 GMT7share647b1102Wed, + 07 Oct 2020 02:03:48 GMT\"0x8D86A653AA236A4\"unlockedavailable5120TransactionOptimizedWed, + 07 Oct 2020 02:03:48 GMT$account-encryption-keyfalsesharerestore12700ec5true01D69C4EA4499274Wed, + 07 Oct 2020 02:07:43 GMT\"0x8D86A65C6BFE006\"unlockedbroken5120TransactionOptimizedWed, + 07 Oct 2020 02:07:43 GMT$account-encryption-keyfalseWed, + 07 Oct 2020 02:07:43 GMT7sharerestorebed60c48true01D69C4E8E6FB05BWed, + 07 Oct 2020 02:07:06 GMT\"0x8D86A65B0E651E3\"unlockedbroken5120TransactionOptimizedWed, + 07 Oct 2020 02:07:06 GMT$account-encryption-keyfalseWed, + 07 Oct 2020 02:07:06 GMT7" headers: content-type: application/xml - date: Tue, 12 May 2020 20:36:15 GMT + date: Wed, 07 Oct 2020 02:07:42 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked - x-ms-version: '2019-12-12' + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: https://seansoftdeletecanary.file.core.windows.net/?include=deleted&comp=list + url: https://emilyeuap.file.core.windows.net/?include=deleted&comp=list - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 12 May 2020 20:36:16 GMT + - Wed, 07 Oct 2020 02:08:43 GMT x-ms-deleted-share-name: - sharerestore12700ec5 x-ms-deleted-share-version: - - 01D62895628B32A6 + - 01D69C4EA4499274 x-ms-version: - - '2019-12-12' + - '2020-02-10' method: PUT uri: https://storagename.file.core.windows.net/sharerestore12700ec5?restype=share&comp=undelete response: @@ -212,24 +135,24 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 12 May 2020 20:36:16 GMT - etag: '"0x8D7F6B41ECF17FA"' - last-modified: Tue, 12 May 2020 20:36:16 GMT + date: Wed, 07 Oct 2020 02:08:43 GMT + etag: '"0x8D86A65EB25DDE6"' + last-modified: Wed, 07 Oct 2020 02:08:44 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 - x-ms-version: '2019-12-12' + x-ms-version: '2020-02-10' status: code: 201 message: Created - url: https://seansoftdeletecanary.file.core.windows.net/sharerestore12700ec5?restype=share&comp=undelete + url: https://emilyeuap.file.core.windows.net/sharerestore12700ec5?restype=share&comp=undelete - request: body: null headers: User-Agent: - - azsdk-python-storage-file-share/12.1.2 Python/3.7.3 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-file-share/12.3.0b2 Python/3.7.3 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 12 May 2020 20:36:16 GMT + - Wed, 07 Oct 2020 02:08:44 GMT x-ms-version: - - '2019-12-12' + - '2020-02-10' method: GET uri: https://storagename.file.core.windows.net/sharerestore12700ec5?restype=share response: @@ -237,18 +160,20 @@ interactions: string: '' headers: content-length: '0' - date: Tue, 12 May 2020 20:36:16 GMT - etag: '"0x8D7F6B41ECF17FA"' - last-modified: Tue, 12 May 2020 20:36:16 GMT + date: Wed, 07 Oct 2020 02:08:43 GMT + etag: '"0x8D86A65EB25DDE6"' + last-modified: Wed, 07 Oct 2020 02:08:44 GMT server: Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: TransactionOptimized - x-ms-access-tier-change-time: 5/12/2020 7:41:52 PM + x-ms-access-tier-change-time: Wed, 07 Oct 2020 02:07:43 GMT x-ms-has-immutability-policy: 'false' x-ms-has-legal-hold: 'false' + x-ms-lease-state: available + x-ms-lease-status: unlocked x-ms-share-quota: '5120' - x-ms-version: '2019-12-12' + x-ms-version: '2020-02-10' status: code: 200 message: OK - url: https://seansoftdeletecanary.file.core.windows.net/sharerestore12700ec5?restype=share + url: https://emilyeuap.file.core.windows.net/sharerestore12700ec5?restype=share version: 1